mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix the 'ct' target to work on Windows with MSYS
This commit is contained in:
parent
85575fca65
commit
3f9b346dec
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ clear_log(RawLog) ->
|
||||||
%% log results
|
%% log results
|
||||||
check_log(RawLog) ->
|
check_log(RawLog) ->
|
||||||
{ok, Msg} =
|
{ok, Msg} =
|
||||||
rebar_utils:sh("egrep -e 'TEST COMPLETE' -e '{error,make_failed}' "
|
rebar_utils:sh("grep -e 'TEST COMPLETE' -e '{error,make_failed}' "
|
||||||
++ RawLog, [{use_stdout, false}]),
|
++ RawLog, [{use_stdout, false}]),
|
||||||
MakeFailed = string:str(Msg, "{error,make_failed}") =/= 0,
|
MakeFailed = string:str(Msg, "{error,make_failed}") =/= 0,
|
||||||
RunFailed = string:str(Msg, ", 0 failed") =:= 0,
|
RunFailed = string:str(Msg, ", 0 failed") =:= 0,
|
||||||
|
|
Loading…
Reference in a new issue