From c3194052e754743f439f21c80fd84d73e2c421ac Mon Sep 17 00:00:00 2001 From: Yury Gargay Date: Thu, 3 Sep 2015 13:41:28 +0600 Subject: Fix cover_spec options for ct --- src/rebar_prv_common_test.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 25e9dad..aaaa457 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -533,6 +533,8 @@ transform_opts([], Acc) -> Acc; %% drop `cover` and `verbose` so they're not passed as an option to common_test transform_opts([{cover, _}|Rest], Acc) -> transform_opts(Rest, Acc); +transform_opts([{cover_spec, CoverSpec}|Rest], Acc) -> + transform_opts(Rest, [{cover, CoverSpec}|Acc]); transform_opts([{verbose, _}|Rest], Acc) -> transform_opts(Rest, Acc); transform_opts([{ct_hooks, CtHooks}|Rest], Acc) -> -- cgit v1.1