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.
13 lines
447 B
13 lines
447 B
5 years ago
|
file(GLOB update_xml_file "${RunCMake_TEST_BINARY_DIR}/Testing/*/Update.xml")
|
||
|
if(update_xml_file)
|
||
|
file(READ "${update_xml_file}" update_xml LIMIT 4096)
|
||
|
if(NOT update_xml MATCHES [[ChangeId><>1]])
|
||
|
string(REPLACE "\n" "\n " update_xml " ${update_xml}")
|
||
|
set(RunCMake_TEST_FAILED
|
||
|
"Update.xml does not have expected ChangeId:\n${update_xml}"
|
||
|
)
|
||
|
endif()
|
||
|
else()
|
||
|
set(RunCMake_TEST_FAILED "Update.xml not found")
|
||
|
endif()
|