mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-15 02:49:42 -05:00
GoogleTest: Report timeout duration on discovery failure
This commit is contained in:
@@ -381,6 +381,7 @@ function(gtest_discover_tests_impl)
|
||||
"Error running test executable.\n"
|
||||
" Path: '${path}'\n"
|
||||
" Working directory: '${arg_TEST_WORKING_DIR}'\n"
|
||||
" Timeout: '${arg_TEST_DISCOVERY_TIMEOUT}'\n"
|
||||
" Result: ${result}\n"
|
||||
" Output:\n"
|
||||
" ${output}\n"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
?( *|[0-9]+>)
|
||||
( *|[0-9]+>) Path: '[^']*discovery_timeout_test(\.exe)?'
|
||||
( *|[0-9]+>) Working directory: '[^']*/Tests/RunCMake/GoogleTest/GoogleTest-discovery-timeout'
|
||||
( *|[0-9]+>) Timeout: '[^']*'
|
||||
( *|[0-9]+>) Result: Process terminated due to timeout
|
||||
( *|[0-9]+>) Output:
|
||||
( *|[0-9]+>) +
|
||||
|
||||
@@ -4,6 +4,7 @@ CMake Error at [^
|
||||
+
|
||||
[ \t]*Path: '[^']*discovery_timeout_test(\.exe)?'
|
||||
[ \t]*Working directory: '[^']*/Tests/RunCMake/GoogleTest/GoogleTest-discovery-timeout'
|
||||
[ \t]*Timeout: '[^']*'
|
||||
[ \t]*Result: Process terminated due to timeout
|
||||
[ \t]*Output:
|
||||
[ \t]*timeout\.
|
||||
|
||||
Reference in New Issue
Block a user