diff options
author | Jan Klötzke <jan.kloetzke@freenet.de> | 2011-10-01 13:19:49 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-10-20 16:27:35 +0200 |
commit | 3f9b346dec1ba98290350c2d3477d8de89a73fb8 (patch) | |
tree | ea7749d977f0eb03ca57f00c346a92f64e610d3f /src | |
parent | 85575fca65e53bdf0489ba8ea21c34dcc7cfedbc (diff) |
Fix the 'ct' target to work on Windows with MSYS
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_ct.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl index 1b5ceff..0303787 100644 --- a/src/rebar_ct.erl +++ b/src/rebar_ct.erl @@ -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, |