diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-12-07 14:34:05 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-12-07 14:34:05 (GMT) |
commit | f30c82f370f88a1a8edee8e3897b46e9c96cbf3d (patch) | |
tree | de2e4541d7a7dbadd501c99dc4313c432616a005 /Tests/CTestTestBadExe/CMakeLists.txt | |
parent | 80b2c30d5666b55a0600189d98db4f55d8e1514f (diff) | |
download | CMake-f30c82f370f88a1a8edee8e3897b46e9c96cbf3d.zip CMake-f30c82f370f88a1a8edee8e3897b46e9c96cbf3d.tar.gz CMake-f30c82f370f88a1a8edee8e3897b46e9c96cbf3d.tar.bz2 |
Added a unit test for running a test command which exists but is not an executable, because it previously caused the outer ctest process to fail.
Diffstat (limited to 'Tests/CTestTestBadExe/CMakeLists.txt')
-rw-r--r-- | Tests/CTestTestBadExe/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CTestTestBadExe/CMakeLists.txt b/Tests/CTestTestBadExe/CMakeLists.txt new file mode 100644 index 0000000..8a925b6 --- /dev/null +++ b/Tests/CTestTestBadExe/CMakeLists.txt @@ -0,0 +1,7 @@ +cmake_minimum_required (VERSION 2.6) +PROJECT(CTestTestBadExe) +INCLUDE(CTest) + +CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/notAnExe.txt" "${CMAKE_CURRENT_BINARY_DIR}/notAnExe.txt" COPYONLY) + +ADD_TEST (TestBadExe "${CMAKE_CURRENT_BINARY_DIR}/notAnExe.txt") |