mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06: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
|
|
)
|