Browse Source

Fix the 'ct' target to work on Windows with MSYS

pull/3/head
Jan Klötzke 13 years ago
committed by Tuncer Ayaz
parent
commit
3f9b346dec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_ct.erl

+ 1
- 1
src/rebar_ct.erl View File

@ -102,7 +102,7 @@ clear_log(RawLog) ->
%% log results
check_log(RawLog) ->
{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}]),
MakeFailed = string:str(Msg, "{error,make_failed}") =/= 0,
RunFailed = string:str(Msg, ", 0 failed") =:= 0,

Loading…
Cancel
Save