Warn on no LDAP server.

This commit is contained in:
Simon MacMullen 2014-11-13 16:06:48 +00:00
parent 9484310c57
commit 59fa43fb49
1 changed files with 2 additions and 0 deletions

View File

@ -4,4 +4,6 @@ DEPS:=rabbitmq-server rabbitmq-erlang-client eldap-wrapper
ifeq ($(shell nc -z localhost 389 && echo true),true)
WITH_BROKER_TEST_COMMANDS:=eunit:test(rabbit_auth_backend_ldap_test,[verbose])
WITH_BROKER_TEST_CONFIG:=$(PACKAGE_DIR)/etc/rabbit-test
else
$(warning Not running LDAP tests; no LDAP server found on localhost)
endif