diff options
Diffstat (limited to 'inttest/ct1/ct1_rt.erl')
-rw-r--r-- | inttest/ct1/ct1_rt.erl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/inttest/ct1/ct1_rt.erl b/inttest/ct1/ct1_rt.erl index dc83095..03b4ed8 100644 --- a/inttest/ct1/ct1_rt.erl +++ b/inttest/ct1/ct1_rt.erl @@ -4,21 +4,23 @@ -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, "test_SUITE.erl", "itest/test_SUITE.erl"}]. + {copy, "test_SUITE.erl", "itest/test_SUITE.erl"} + ] ++ inttest_utils:rebar_setup(). run(_Dir) -> {ok, _} = retest:sh("./rebar compile ct"), {ok, _} = retest:sh("./rebar compile ct -v"), ok. - - %% %% Generate the contents of a simple .app file %% |