summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-08 23:27:47 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-08 23:27:47 +0200
commit3f2ad54ebc6eddef80192608adcb6167ad5c8838 (patch)
tree08ae6244f5ca163c9289be7341cd185c7a834aa1
parent19d1ee2c4ecebaa80dbf694428774d8973dddb84 (diff)
rebar_qc: fix #292 (Reported-by: Brian L. Troutwine)
-rw-r--r--src/rebar_qc.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/rebar_qc.erl b/src/rebar_qc.erl
index 20c12ca..479049f 100644
--- a/src/rebar_qc.erl
+++ b/src/rebar_qc.erl
@@ -128,7 +128,13 @@ run(Config, QC, QCOpts) ->
[Errors])
end.
-qc_module(QC=triq, _QCOpts, M) -> QC:module(M);
+qc_module(QC=triq, _QCOpts, M) ->
+ case QC:module(M) of
+ true ->
+ [];
+ Failed ->
+ [Failed]
+ end;
qc_module(QC=eqc, QCOpts, M) -> QC:module(QCOpts, M).
find_prop_mods() ->