mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
`ProcessHandler` can return -1, 0, or 1, and the latter is used in this particular case. Fixes: #27949
7 lines
294 B
CMake
7 lines
294 B
CMake
# Verify that CTest did not create our badly formed output file.
|
|
if(EXISTS "${RunCMake_TEST_BINARY_DIR}/not-a-dir/junit.xml" OR IS_DIRECTORY "${RunCMake_TEST_BINARY_DIR}/not-a-dir")
|
|
set(RunCMake_TEST_FAILED
|
|
"Found output junit ${RunCMake_TEST_BINARY_DIR}/not-a-dir/junit.xml"
|
|
)
|
|
endif()
|