CMake/Tests/CTestTestLaunchers/launcher_test_project/command.cmake
Nils Gladitz 4fcb97eaac Tests: Add test for CTEST_USE_LAUNCHERS capture of custom commands
This new test detects if custom command failures are detected with
launchers.
2013-10-31 09:29:55 -04:00

6 lines
124 B
CMake

if("${TESTID}" STREQUAL "1")
message("success")
elseif("${TESTID}" STREQUAL "2")
message(FATAL_ERROR "failure")
endif()