mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
ce44c2cec3
This is useful so that memcheck results also show up as test results on CDash. It will be submitted with the other `MemCheck` parts. Fixes: #22190
11 lines
286 B
CMake
11 lines
286 B
CMake
function (find_xml_file name)
|
|
file(GLOB test_xml_file "${RunCMake_TEST_BINARY_DIR}/Testing/*/${name}.xml")
|
|
if (NOT test_xml_file)
|
|
message(FATAL_ERROR
|
|
"${name}.xml not created.")
|
|
endif ()
|
|
endfunction ()
|
|
|
|
find_xml_file(DynamicAnalysis)
|
|
find_xml_file(DynamicAnalysis-Test)
|