summaryrefslogtreecommitdiff
path: root/test/rebar_eunit_SUITE.erl
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-03-05 13:40:47 -0600
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-03-05 13:40:47 -0600
commit7e608a4c9ad50c54df69b859da9ba2e507f39cc4 (patch)
treedd35e4eed77379d444cf8478c05d03c272df9ede /test/rebar_eunit_SUITE.erl
parent3355e848b5b05b38120d5e6cbca7f415447aad5a (diff)
parentccfebdd1552128ef74841f12b3bf0ff3616ee40e (diff)
Merge pull request #222 from talentdeficit/no_superfluous_loads
switch from loading modules to read compile info to using `beam_lib`
Diffstat (limited to 'test/rebar_eunit_SUITE.erl')
-rw-r--r--test/rebar_eunit_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rebar_eunit_SUITE.erl b/test/rebar_eunit_SUITE.erl
index 190fbfa..d2d8608 100644
--- a/test/rebar_eunit_SUITE.erl
+++ b/test/rebar_eunit_SUITE.erl
@@ -21,7 +21,7 @@ end_per_suite(_Config) ->
ok.
init_per_testcase(_, Config) ->
- rebar_test_utils:init_rebar_state(Config).
+ rebar_test_utils:init_rebar_state(Config, "eunit_").
all() ->
[test_basic_app].
@@ -29,9 +29,9 @@ all() ->
test_basic_app(Config) ->
AppDir = ?config(apps, Config),
- Name = rebar_test_utils:create_random_name("eunit_"),
+ Name = rebar_test_utils:create_random_name("basic_"),
Vsn = rebar_test_utils:create_random_vsn(),
rebar_test_utils:create_app(AppDir, Name, Vsn, [kernel, stdlib]),
-
+
RebarConfig = [{erl_opts, [{d, some_define}]}],
rebar_test_utils:run_and_check(Config, RebarConfig, ["eunit"], {ok, [{app, Name}]}).