rebar_qc: fix #292 (Reported-by: Brian L. Troutwine)

This commit is contained in:
Tuncer Ayaz 2012-08-08 23:27:47 +02:00
parent 19d1ee2c4e
commit 3f2ad54ebc

View file

@ -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() ->