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 | 250d861d41240f5affe957c39ad28be0a68dad37 (patch) | |
| tree | 77d650e06bca4a0e251e7d066617abe79576dad5 | |
| parent | 00efde34fe3f29ad4f12f7f176729d4a30ccf189 (diff) | |
| download | rabbitmq-server-git-250d861d41240f5affe957c39ad28be0a68dad37.tar.gz | |
Ensure we always compile test code, in case plugins need it.
| -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)) ; \ |
