You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
419 B
12 lines
419 B
2 years ago
|
file(GLOB test_xml "${RunCMake_TEST_BINARY_DIR}/Testing/*/Test.xml")
|
||
|
if(NOT test_xml)
|
||
|
set(RunCMake_TEST_FAILED "Test.xml not found.")
|
||
|
return()
|
||
|
endif()
|
||
|
|
||
|
file(READ "${test_xml}" test_xml_content)
|
||
|
if(NOT test_xml_content MATCHES "TIMEOUT_SIGNAL_GRACE_PERIOD \"1000\" is not less than the maximum of \"60\" seconds\\.")
|
||
|
set(RunCMake_TEST_FAILED "Test output does not have expected error message.")
|
||
|
return()
|
||
|
endif()
|