aboutsummaryrefslogtreecommitdiff
path: root/runtest.rb
diff options
context:
space:
mode:
authorFumitoshi Ukai <ukai@google.com>2015-07-29 10:19:05 +0900
committerFumitoshi Ukai <ukai@google.com>2015-07-29 10:25:22 +0900
commitb0ede7d548ad549961c20eb780c2eaed7f0d3435 (patch)
treef05279eb37c42430842ee03ebd4b31c0f7a2b22b /runtest.rb
parent786846dc5991f1183460bee69890065356f511e8 (diff)
downloadkati-b0ede7d548ad549961c20eb780c2eaed7f0d3435.tar.gz
[go] fix find_command.mk test
not yet implemented builtin find, but it was failing just because it detected kati log files and json files. runtest.rb ignores these files.
Diffstat (limited to 'runtest.rb')
-rwxr-xr-xruntest.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtest.rb b/runtest.rb
index 25eedf0..97d8e9f 100755
--- a/runtest.rb
+++ b/runtest.rb
@@ -134,6 +134,8 @@ def normalize_kati_log(output)
"\\1\\2: N\\3\n*** No rule to make target \"\\2\".")
output.gsub!(/\/bin\/sh: ([^:]*): command not found/,
"\\1: Command not found")
+ output.gsub!(/ (\.\/+)+kati\.\S+/, '') # kati log files in find_command.mk
+ output.gsub!(/ (\.\/+)+test\S+.json/, '') # json files in find_command.mk
output
end