diff options
Diffstat (limited to 'inttest/ct_cover/ct_cover_rt.erl')
-rw-r--r-- | inttest/ct_cover/ct_cover_rt.erl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/inttest/ct_cover/ct_cover_rt.erl b/inttest/ct_cover/ct_cover_rt.erl index c7f8776..361d85b 100644 --- a/inttest/ct_cover/ct_cover_rt.erl +++ b/inttest/ct_cover/ct_cover_rt.erl @@ -4,14 +4,19 @@ -compile(export_all). +setup([Target]) -> + retest_utils:load_module(filename:join(Target, "inttest_utils.erl")), + ok. + files() -> - [{create, "ebin/a1.app", app(a1)}, - {copy, "../../rebar", "rebar"}, + [ + {create, "ebin/a1.app", app(a1)}, {copy, "rebar.config", "rebar.config"}, {copy, "app.config", "app.config"}, {copy, "cover.spec", "cover.spec"}, {copy, "test_SUITE.erl", "itest/test_SUITE.erl"}, - {copy, "mock", "deps"}]. + {copy, "mock", "deps"} + ] ++ inttest_utils:rebar_setup(). run(_Dir) -> {ok, _} = retest:sh("./rebar compile ct"), |