aboutsummaryrefslogtreecommitdiff
path: root/runtest.rb
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-08-11 15:35:55 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-08-11 15:35:55 +0900
commit59956606c56b1ffc79eca2c85701bce1bca027d2 (patch)
treebc110b70f61adbedeed1ba519a39b59b821f9187 /runtest.rb
parent89e0c4f6a0d19d01308129dbc96b9c7982203f8a (diff)
downloadkati-59956606c56b1ffc79eca2c85701bce1bca027d2.tar.gz
[C++] Allow an expected message from ninja_regen.sh
Diffstat (limited to 'runtest.rb')
-rwxr-xr-xruntest.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtest.rb b/runtest.rb
index 5a25cd7..4d391fc 100755
--- a/runtest.rb
+++ b/runtest.rb
@@ -305,6 +305,7 @@ run_shell_test = proc do |sh|
output = normalize_kati_log(output)
if is_ninja_test
output = normalize_ninja_log(output, sh)
+ output.gsub!(/No need to regenerate ninja file\n/, '')
end
File.open('out.make', 'w'){|ofile|ofile.print(expected)}
File.open('out.kati', 'w'){|ofile|ofile.print(output)}