[C++] Allow an expected message from ninja_regen.sh
diff --git a/runtest.rb b/runtest.rb
index 5a25cd7..4d391fc 100755
--- a/runtest.rb
+++ b/runtest.rb
@@ -305,6 +305,7 @@
     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)}