diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-06-07 11:43:39 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-06-07 11:43:39 +0100 |
| commit | ad7be9810efa313d75c8bdec22d6689db747be66 (patch) | |
| tree | 2d4f3a0d6b3738d6b771ec2b88191d19c47d2166 /Makefile | |
| parent | 95d07287b4007af9f763ff3be7e39eee0d9bbc04 (diff) | |
| download | rabbitmq-server-git-ad7be9810efa313d75c8bdec22d6689db747be66.tar.gz | |
erl_call treats all communication with the node as success, so try to emulate it.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -161,8 +161,11 @@ run-node: all RABBITMQ_SERVER_START_ARGS="$(RABBITMQ_SERVER_START_ARGS)" \ ./scripts/rabbitmq-server +# erl_call treats all communication with the node as success, so we +# have to emulate it. run-tests: all - echo "rabbit_tests:all_tests()." | $(ERL_CALL) + erl -sname foo -noinput -eval \ + "case rpc:call(rabbit@$(shell hostname -s), rabbit_tests, all_tests, []) of passed -> halt(0); E -> io:format(\"~n~p~n~n\", [E]), halt(1) end." start-background-node: $(BASIC_SCRIPT_ENVIRONMENT_SETTINGS) \ |
