diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-09-18 16:59:36 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-09-18 16:59:36 +0100 |
commit | e3280804e9c0227d006f2634b377548b3f754342 (patch) | |
tree | 77d650e06bca4a0e251e7d066617abe79576dad5 | |
parent | 9a2b17a7ed864a7c5a9c42b2150644bd066297a9 (diff) | |
download | rabbitmq-server-bug26216.tar.gz |
Ensure we always compile test code, in case plugins need it.bug26216
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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)) ; \ |