Commit 0a1f5c0
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 6d6238f commit 0a1f5c0
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2501 | 2501 | | |
2502 | 2502 | | |
2503 | 2503 | | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
2504 | 2509 | | |
2505 | 2510 | | |
2506 | 2511 | | |
| |||
2512 | 2517 | | |
2513 | 2518 | | |
2514 | 2519 | | |
| 2520 | + | |
2515 | 2521 | | |
2516 | 2522 | | |
2517 | 2523 | | |
| |||
0 commit comments