summaryrefslogtreecommitdiff
path: root/quickcheck
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
commit359057492421c9ad42a2e466c9eb19384e7da0ad (patch)
tree23aa9bbc6d7e774038cfc56f0954645288f9415a /quickcheck
parent8dfc2b17bfa228c0f6310331fa8ebc0cc53f1a26 (diff)
downloadrabbitmq-server-359057492421c9ad42a2e466c9eb19384e7da0ad.tar.gz
Display errors on failure.
Diffstat (limited to 'quickcheck')
-rwxr-xr-xquickcheck3
1 files changed, 2 insertions, 1 deletions
diff --git a/quickcheck b/quickcheck
index b5382d75..40f13091 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]),