mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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
|
|
)
|