diff options
author | Yury Gargay <yury.gargay@gmail.com> | 2015-09-03 13:41:28 +0600 |
---|---|---|
committer | Yury Gargay <yury.gargay@gmail.com> | 2015-09-03 13:43:06 +0600 |
commit | c3194052e754743f439f21c80fd84d73e2c421ac (patch) | |
tree | b6557d8b9c9cd76d8d56961c676c2a7b22b8e009 | |
parent | bee43181d2c60df78e159da263b0889a64f5b88e (diff) |
Fix cover_spec options for ct
-rw-r--r-- | src/rebar_prv_common_test.erl | 2 |
1 files changed, 2 insertions, 0 deletions
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) -> |