mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Specifically, this tests that setting WORKING_DIRECTORY to an invalid directory results in the test failing.
7 lines
175 B
CMake
7 lines
175 B
CMake
include(CTest)
|
|
|
|
add_test(NAME dirNotExist
|
|
COMMAND ${CMAKE_COMMAND} -E touch someFile.txt
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/thisDirWillNotExist
|
|
)
|