diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-07-28 19:51:57 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-07-28 19:51:57 +0200 |
commit | 636c02f0be021b5d56fd29a562f80ed0f5cdff46 (patch) | |
tree | 80fd0fc561b493d315ca7945c1ccddc7cdce3f55 /src/rebar_ct.erl | |
parent | 2d62896de0072b6dfeda82156f77584eff37f880 (diff) |
Fix R13B03 build (Reported-by: Sergey Nartimov)
Diffstat (limited to 'src/rebar_ct.erl')
-rw-r--r-- | src/rebar_ct.erl | 8 |
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. |