summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-05-28 11:06:54 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-05-28 11:06:54 +0100
commitfb861712d07ec9d31be357f68be00a3ed08d7df7 (patch)
tree23aa9bbc6d7e774038cfc56f0954645288f9415a
parentecdb21a6b5e02000b293b20b14dcf96ef910c410 (diff)
downloadrabbitmq-server-git-fb861712d07ec9d31be357f68be00a3ed08d7df7.tar.gz
Display errors on failure.
-rwxr-xr-xquickcheck3
1 files changed, 2 insertions, 1 deletions
diff --git a/quickcheck b/quickcheck
index b5382d75b9..40f130919f 100755
--- a/quickcheck
+++ b/quickcheck
@@ -17,7 +17,8 @@ main([NodeStr, ModStr, TrialsStr]) ->
case rpc:call(Node, proper, module,
[Mod] ++ [[{numtests, Trials}, {constraint_tries, 200}]]) of
[] -> ok;
- _ -> quit(1)
+ R -> io:format("~p.~n", [R]),
+ quit(1)
end;
{badrpc, Reason} ->
io:format("Could not contact node ~p: ~p.~n", [Node, Reason]),