summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-09-17 17:32:04 -0500
committerTristan Sloughter <t@crashfast.com>2014-09-17 17:32:04 -0500
commit5dc2de6468be98480be50848bd9ba563c69a84f2 (patch)
tree6288bf05f793acef7a6d36e3f7c87dccd6921d34 /test
parent48769e75c224ccd8e04df250b86b50540270ce9a (diff)
update common tests
Diffstat (limited to 'test')
-rw-r--r--test/rebar_compile_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rebar_compile_SUITE.erl b/test/rebar_compile_SUITE.erl
index db8e9cb..8efdc99 100644
--- a/test/rebar_compile_SUITE.erl
+++ b/test/rebar_compile_SUITE.erl
@@ -25,7 +25,7 @@ init_per_testcase(_, Config) ->
DataDir = proplists:get_value(data_dir, Config),
AppsDir = filename:join([DataDir, create_random_name("apps_dir1_")]),
ok = ec_file:mkdir_p(AppsDir),
- Verbosity = rebar:log_level([]),
+ Verbosity = rebar3:log_level([]),
rebar_log:init(command_line, Verbosity),
State = rebar_state:new(),
[{apps, AppsDir}, {state, State} | Config].
@@ -43,7 +43,7 @@ build_basic_app(Config) ->
ConfigFile = filename:join([AppDir, "rebar.config"]),
write_config(ConfigFile, []),
- rebar:run(rebar_state:new(State, [], AppDir), ["compile"]),
+ rebar3:run(rebar_state:new(State, [], AppDir), ["compile"]),
%% Verify app was built
[App] = rebar_app_discover:find_apps([AppDir]),