diff options
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2016-03-15 08:27:43 +0900 |
---|---|---|
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2016-03-15 08:35:45 +0900 |
commit | c3a483478a6a38caf174c1a439dda6e0c91a0cd6 (patch) | |
tree | 1997f6e387655eaa1ef536962982b1e42e82f6c8 /runtest.rb | |
parent | f3ad9e0cec73953592df5143d16d880595c7bc6e (diff) | |
download | kati-c3a483478a6a38caf174c1a439dda6e0c91a0cd6.tar.gz |
Use subshell even when a command starts with '('
Diffstat (limited to 'runtest.rb')
-rwxr-xr-x | runtest.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -108,6 +108,10 @@ def normalize_ninja_log(log, mk) # This test expects ninja fails. Strip ninja specific error logs. log.gsub!(/^FAILED: .*\n/, '') log.gsub!(/^ninja: .*\n/, '') + elsif mk =~ /\/fail_/ + # Recipes in these tests fail. + log.gsub!(/^FAILED: .*/, '*** [test] Error 1') + log.gsub!(/^ninja: .*\n/, '') end log end |