diff options
author | Tristan Sloughter <t@crashfast.com> | 2016-03-01 17:47:18 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2016-03-01 17:47:18 -0600 |
commit | 924b28d337a85853f4df5636bb1f4e44360c1e2f (patch) | |
tree | 390e694ceebb8e8fee4cae33d92b4addbd20eeab /src | |
parent | 0bcacad782d915b837d179412ae4bed5c00e2936 (diff) | |
parent | 3fa202397bed4281596616eb61cd4c66360ce415 (diff) |
Merge pull request #1098 from talentdeficit/ct_warn_on_cover_spec
error on a cover spec in ct_opts
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_common_test.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 180061c..ae0690a 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -167,7 +167,9 @@ cfgopts(State) -> ensure_opts([], Acc) -> lists:reverse(Acc); ensure_opts([{test_spec, _}|_Rest], _Acc) -> - ?PRV_ERROR({badconfig, "Test specs not supported"}); + ?PRV_ERROR({badconfig, "Test specs not supported. See http://www.rebar3.org/docs/running-tests#common-test"}); +ensure_opts([{cover, _}|_Rest], _Acc) -> + ?PRV_ERROR({badconfig, "Cover specs not supported. See http://www.rebar3.org/docs/running-tests#common-test"}); ensure_opts([{auto_compile, _}|_Rest], _Acc) -> ?PRV_ERROR({badconfig, "Auto compile not supported"}); ensure_opts([{suite, Suite}|Rest], Acc) when is_integer(hd(Suite)) -> |