From 93cb2329a04a7a25e2ca7f0984d49529fbd5b458 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Tue, 1 Mar 2016 13:38:08 -0800 Subject: error on a cover spec in ct_opts --- src/rebar_prv_common_test.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 4be50d8..99b1d8b 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -166,6 +166,8 @@ cfgopts(State) -> ensure_opts([], Acc) -> lists:reverse(Acc); ensure_opts([{test_spec, _}|_Rest], _Acc) -> ?PRV_ERROR({badconfig, "Test specs not supported"}); +ensure_opts([{cover, _}|_Rest], _Acc) -> + ?PRV_ERROR({badconfig, "Cover specs not supported"}); ensure_opts([{auto_compile, _}|_Rest], _Acc) -> ?PRV_ERROR({badconfig, "Auto compile not supported"}); ensure_opts([{suite, Suite}|Rest], Acc) when is_integer(hd(Suite)) -> -- cgit v1.1