From 3f2ad54ebc6eddef80192608adcb6167ad5c8838 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Wed, 8 Aug 2012 23:27:47 +0200 Subject: rebar_qc: fix #292 (Reported-by: Brian L. Troutwine) --- src/rebar_qc.erl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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() -> -- cgit v1.1