summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-09-18 16:59:36 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-09-18 16:59:36 +0100
commite3280804e9c0227d006f2634b377548b3f754342 (patch)
tree77d650e06bca4a0e251e7d066617abe79576dad5
parent9a2b17a7ed864a7c5a9c42b2150644bd066297a9 (diff)
downloadrabbitmq-server-bug26216.tar.gz
Ensure we always compile test code, in case plugins need it.bug26216
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index babcbe1e..a9dc10d5 100644
--- a/Makefile
+++ b/Makefile
@@ -111,8 +111,7 @@ ifneq "$(DEFAULT_GOAL_MAKE)" "$(firstword $(sort $(DEFAULT_GOAL_MAKE) $(MAKE_VER
.DEFAULT_GOAL=all
endif
-all: $(TARGETS)
-test-all: $(TEST_TARGETS)
+all: $(TARGETS) $(TEST_TARGETS)
.PHONY: plugins check-xref
ifneq "$(PLUGINS_SRC_DIR)" ""
@@ -229,7 +228,7 @@ run-background-node: all
RABBITMQ_SERVER_START_ARGS="$(RABBITMQ_SERVER_START_ARGS)" \
./scripts/rabbitmq-server
-run-tests: all test-all
+run-tests: all
echo 'code:add_path("$(TEST_EBIN_DIR)").' | $(ERL_CALL)
echo 'code:add_path("$(TEST_EBIN_DIR)").' | $(ERL_CALL) -n hare || true
OUT=$$(echo "rabbit_tests:all_tests()." | $(ERL_CALL)) ; \