Browse Source

Tests: Teach RunCMake to ignore incidental 'Recompacting log' ninja output

Ninja versions prior to 1.6.0 occasionally print this message.
Brad King 4 years ago
parent
commit
e21a80e97d

+ 1 - 2
Tests/RunCMake/NinjaMultiConfig/CustomCommandOutputGenex-echo_target_depend_out-debug-in-release-graph-ninja-stdout.txt

@@ -1,5 +1,4 @@
-^(Recompacting log\.\.\.
-)?\[1/2\] Generating depend_Debug\.txt
+^\[1/2\] Generating depend_Debug\.txt
 depend_Debug\.txt
 \[2/2\] echo_target_depend_out
 echo_target_depend_out_Debug\.txt$

+ 1 - 0
Tests/RunCMake/RunCMake.cmake

@@ -152,6 +152,7 @@ function(run_cmake test)
     "|clang[^:]*: warning: the object size sanitizer has no effect at -O0, but is explicitly enabled:"
     "|Error kstat returned"
     "|Hit xcodebuild bug"
+    "|Recompacting log\\.\\.\\."
 
     "|LICENSE WARNING:"
     "|Your license to use PGI[^\n]*expired"