diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-09-05 23:32:08 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-09-05 23:32:08 -0400 |
commit | 768889ad177cfb10d3cbace36047fba2f16a1315 (patch) | |
tree | 9fbff5d39625fdec478dc0ef9c22c06d193e41a4 | |
parent | 08f9b20272af05535c064edcc44bd543b6a77793 (diff) | |
parent | c3194052e754743f439f21c80fd84d73e2c421ac (diff) |
Merge pull request #769 from surik/cover_spec_option
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 aafc425..b24ce04 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) -> |