summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-03-03 15:32:03 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2010-03-03 15:33:09 (GMT)
commit2fd9b8072bb15e16446e15c1165566d4a238e4cc (patch)
treec302a7efb0e2a4df2154f1c591e0ae8a4698286e /Tests/CMakeLists.txt
parentadca29a5beca6f25d1224176584ea7c4ef0bf360 (diff)
downloadCMake-2fd9b8072bb15e16446e15c1165566d4a238e4cc.zip
CMake-2fd9b8072bb15e16446e15c1165566d4a238e4cc.tar.gz
CMake-2fd9b8072bb15e16446e15c1165566d4a238e4cc.tar.bz2
Add unit test for RESOURCE_LOCK test property
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 7004de3..7bc8b33 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1284,7 +1284,16 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
-S "${CMake_BINARY_DIR}/Tests/CTestTestParallel/test.cmake" -V
--output-log "${CMake_BINARY_DIR}/Tests/CTestTestParallel/testOutput.log"
)
-
+
+ CONFIGURE_FILE(
+ "${CMake_SOURCE_DIR}/Tests/CTestTestResourceLock/test.cmake.in"
+ "${CMake_BINARY_DIR}/Tests/CTestTestResourceLock/test.cmake"
+ @ONLY ESCAPE_QUOTES)
+ ADD_TEST(CTestTestResourceLock ${CMAKE_CTEST_COMMAND}
+ -S "${CMake_BINARY_DIR}/Tests/CTestTestResourceLock/test.cmake" -V
+ --output-log "${CMake_BINARY_DIR}/Tests/CTestTestResourceLock/output.log"
+ )
+
CONFIGURE_FILE(
"${CMake_SOURCE_DIR}/Tests/CTestTestScheduler/test.cmake.in"
"${CMake_BINARY_DIR}/Tests/CTestTestScheduler/test.cmake"