summaryrefslogtreecommitdiff
path: root/src/rebar_ct.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_ct.erl')
-rw-r--r--src/rebar_ct.erl10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl
index 350e944..fc87dd3 100644
--- a/src/rebar_ct.erl
+++ b/src/rebar_ct.erl
@@ -71,14 +71,8 @@ run_test(TestDir, Config, _File) ->
Output = " 2>&1 | tee -a " ++ RawLog
end,
- case rebar_utils:sh(Cmd ++ Output, [{"TESTDIR", TestDir}]) of
- ok ->
- check_log(RawLog);
- {error, _Rc} ->
- show_log(RawLog),
- ?ERROR("Executing tests failed.\n", []),
- ?FAIL
- end.
+ rebar_utils:sh(Cmd ++ Output, [{"TESTDIR", TestDir}]),
+ check_log(RawLog).
clear_log(RawLog) ->