summaryrefslogtreecommitdiff
path: root/src/rebar_ct.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-07-28 19:51:57 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-07-28 19:51:57 +0200
commit636c02f0be021b5d56fd29a562f80ed0f5cdff46 (patch)
tree80fd0fc561b493d315ca7945c1ccddc7cdce3f55 /src/rebar_ct.erl
parent2d62896de0072b6dfeda82156f77584eff37f880 (diff)
Fix R13B03 build (Reported-by: Sergey Nartimov)
Diffstat (limited to 'src/rebar_ct.erl')
-rw-r--r--src/rebar_ct.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl
index a875116..d2f45c3 100644
--- a/src/rebar_ct.erl
+++ b/src/rebar_ct.erl
@@ -83,7 +83,7 @@ clear_log(RawLog) ->
ok = file:write_file(RawLog, LogHeader);
{error, Reason} ->
?ERROR("Could not create log dir - ~p\n", [Reason]),
- ?ABORT
+ ?FAIL
end.
%% calling ct with erl does not return non-zero on failure - have to check
@@ -98,12 +98,12 @@ check_log(Config, RawLog) ->
MakeFailed ->
show_log(Config, RawLog),
?ERROR("Building tests failed\n",[]),
- ?ABORT;
+ ?FAIL;
RunFailed ->
show_log(Config, RawLog),
?ERROR("One or more tests failed\n",[]),
- ?ABORT;
+ ?FAIL;
true ->
?CONSOLE("DONE.\n~s\n", [Msg])
@@ -263,7 +263,7 @@ find_suite_path(Suite, TestDir) ->
case filelib:is_regular(Path) of
false ->
?ERROR("Suite ~s not found\n", [Suite]),
- ?ABORT;
+ ?FAIL;
true ->
Path
end.