13 lines
438 B
CMake
13 lines
438 B
CMake
|
file(GLOB build_xml_file "${RunCMake_TEST_BINARY_DIR}/Testing/*/Build.xml")
|
||
|
if(build_xml_file)
|
||
|
file(READ "${build_xml_file}" build_xml LIMIT 4096)
|
||
|
if(NOT build_xml MATCHES [[ChangeId="<>1"]])
|
||
|
string(REPLACE "\n" "\n " build_xml " ${build_xml}")
|
||
|
set(RunCMake_TEST_FAILED
|
||
|
"Build.xml does not have expected ChangeId:\n${build_xml}"
|
||
|
)
|
||
|
endif()
|
||
|
else()
|
||
|
set(RunCMake_TEST_FAILED "Build.xml not found")
|
||
|
endif()
|