mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
e654622aee
Checks that giving an invalid build directory to ctest --build-and-test will fail.
8 lines
291 B
CMake
8 lines
291 B
CMake
# We want a single test that always passes. We should never actually get to
|
|
# configure with this file, so we use a successful configure-build-test
|
|
# sequence to denote failure of the test case.
|
|
include(CTest)
|
|
add_test(NAME willPass
|
|
COMMAND ${CMAKE_COMMAND} -E touch someFile.txt
|
|
)
|