Commit a76d0cc
committed
Avoid LDAP TAP tests when not built with LDAP
Since `run_misc_tests()` globs the test directories for test modules and
runs them directly, the `if ($ENV{with_ldap} ne 'yes')` bits of the
`Makefile` for `ldap_password_func`, at least, doesn't seem to trigger
properly. So follow the precedent of checking for SSL configuration and
skip LDAP tests when `--with-ldap` (or equivalent) hasn't been
specified.
This presumably wont't come up previously unless TAP tests were enabled
and LDAP was not configured.1 parent 3c523d3 commit a76d0cc
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2486 | 2486 | | |
2487 | 2487 | | |
2488 | 2488 | | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
2489 | 2494 | | |
2490 | 2495 | | |
2491 | 2496 | | |
| |||
2497 | 2502 | | |
2498 | 2503 | | |
2499 | 2504 | | |
| 2505 | + | |
2500 | 2506 | | |
2501 | 2507 | | |
2502 | 2508 | | |
| |||
0 commit comments