aboutsummaryrefslogtreecommitdiff
path: root/runtest.rb
diff options
context:
space:
mode:
authorFumitoshi Ukai <ukai@google.com>2015-07-28 18:08:47 +0900
committerFumitoshi Ukai <ukai@google.com>2015-07-28 18:12:11 +0900
commit786846dc5991f1183460bee69890065356f511e8 (patch)
tree9eb63a1a77157641efc3343439b5dfa64bf1b955 /runtest.rb
parent5af212f64dbe9e5c5686bc3690bdca18cc09d92b (diff)
downloadkati-786846dc5991f1183460bee69890065356f511e8.tar.gz
fix err_no_rule.mk - normalize error message
[go] fix not emit phony for missing [c-ninja] mark TODO to recipe_var.mk
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 31cc176..25eedf0 100755
--- a/runtest.rb
+++ b/runtest.rb
@@ -91,6 +91,8 @@ end
def normalize_ninja_log(log, mk)
log.gsub!(/^\[\d+\/\d+\] .*\n/, '')
log.gsub!(/^ninja: no work to do\.\n/, '')
+ log.gsub!(/^ninja: error: (.*, needed by .*),.*/,
+ '*** No rule to make target \\1.')
if mk =~ /err_error_in_recipe.mk/
# This test expects ninja fails. Strip ninja specific error logs.
log.gsub!(/^FAILED: .*\n/, '')