Tests/RunCMake/GoogleTest: Match discovery timeout message more precisely

This commit is contained in:
Brad King
2025-10-30 11:08:05 -04:00
parent e64f53952e
commit d3cfc57f06
2 changed files with 6 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
( *|[0-9]+>)CMake Error at .*GoogleTestAddTests\.cmake:[0-9]+ \(message\):
( *|[0-9]+>)CMake Error at [^
]*GoogleTestAddTests\.cmake:[0-9]+ \(message\):
( *|[0-9]+>) Error running test executable\.
?( *|[0-9]+>)
( *|[0-9]+>) Path: '.*discovery_timeout_test(\.exe)?'
( *|[0-9]+>) Path: '[^']*discovery_timeout_test(\.exe)?'
( *|[0-9]+>) Working directory: '[^']*/Tests/RunCMake/GoogleTest/GoogleTest-discovery-timeout'
( *|[0-9]+>) Result: Process terminated due to timeout
( *|[0-9]+>) Output:

View File

@@ -1,7 +1,8 @@
CMake Error at .*GoogleTestAddTests\.cmake:[0-9]+ \(message\):
CMake Error at [^
]*GoogleTestAddTests\.cmake:[0-9]+ \(message\):
[ \t]*Error running test executable\.
+
[ \t]*Path: '.*discovery_timeout_test(\.exe)?'
[ \t]*Path: '[^']*discovery_timeout_test(\.exe)?'
[ \t]*Working directory: '[^']*/Tests/RunCMake/GoogleTest/GoogleTest-discovery-timeout'
[ \t]*Result: Process terminated due to timeout
[ \t]*Output: