2012-01-26 16:50:48 +01:00
|
|
|
Index: plugins-src/rabbitmq-auth-backend-ldap/package.mk
|
|
|
|
===================================================================
|
|
|
|
--- plugins-src/rabbitmq-auth-backend-ldap/package.mk.orig
|
|
|
|
+++ plugins-src/rabbitmq-auth-backend-ldap/package.mk
|
2015-04-12 08:02:03 +02:00
|
|
|
@@ -1,9 +1,9 @@
|
2012-01-26 16:50:48 +01:00
|
|
|
RELEASABLE:=true
|
|
|
|
DEPS:=rabbitmq-server rabbitmq-erlang-client eldap-wrapper
|
|
|
|
|
2012-05-12 15:40:19 +02:00
|
|
|
-ifeq ($(shell nc -z localhost 389 && echo true),true)
|
2015-04-12 08:02:03 +02:00
|
|
|
-WITH_BROKER_TEST_COMMANDS:=eunit:test([rabbit_auth_backend_ldap_unit_test,rabbit_auth_backend_ldap_test],[verbose])
|
2012-01-26 16:50:48 +01:00
|
|
|
-WITH_BROKER_TEST_CONFIG:=$(PACKAGE_DIR)/etc/rabbit-test
|
2015-04-12 08:02:03 +02:00
|
|
|
-else
|
|
|
|
+#ifeq ($(shell nc -z localhost 389 && echo true),true)
|
|
|
|
+#WITH_BROKER_TEST_COMMANDS:=eunit:test([rabbit_auth_backend_ldap_unit_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)
|
2012-01-26 16:50:48 +01:00
|
|
|
-endif
|
2015-04-12 08:02:03 +02:00
|
|
|
+#endif
|