summaryrefslogtreecommitdiff
path: root/src/rebar_ct.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2013-12-06 20:55:41 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2013-12-06 21:39:53 +0100
commit277a10cd3b10a885b35ba9b75b85398870525658 (patch)
tree0e6a145f0f4c68683a42917d5abbde82bc7bb5a3 /src/rebar_ct.erl
parentf39309a66020e13892350785bf3feff6907c5ee6 (diff)
Fix is_verbose/1 helper function
Diffstat (limited to 'src/rebar_ct.erl')
-rw-r--r--src/rebar_ct.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl
index 74ae618..91d763b 100644
--- a/src/rebar_ct.erl
+++ b/src/rebar_ct.erl
@@ -101,7 +101,7 @@ run_test(TestDir, LogDir, Config, _File) ->
{Cmd, RawLog} = make_cmd(TestDir, LogDir, Config),
?DEBUG("ct_run cmd:~n~p~n", [Cmd]),
clear_log(LogDir, RawLog),
- Output = case rebar_config:is_verbose(Config) of
+ Output = case rebar_log:is_verbose(Config) of
false ->
" >> " ++ RawLog ++ " 2>&1";
true ->
@@ -172,7 +172,7 @@ check_log(Config,RawLog,Fun) ->
%% Show the log if it hasn't already been shown because verbose was on
show_log(Config, RawLog) ->
?CONSOLE("Showing log\n", []),
- case rebar_config:is_verbose(Config) of
+ case rebar_log:is_verbose(Config) of
false ->
{ok, Contents} = file:read_file(RawLog),
?CONSOLE("~s", [Contents]);