summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestParallel/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-12-02 14:16:29 (GMT)
committerBrad King <brad.king@kitware.com>2009-12-02 14:16:29 (GMT)
commited55b1b8d217a943a4c5b6d332e32d7d8913a49e (patch)
tree8fc451bd9da748fdde29c51d792e6271798d5ed9 /Tests/CTestTestParallel/CMakeLists.txt
parentcdc9ef3b5a49e0e7596f1314ca1baa4d43103154 (diff)
downloadCMake-ed55b1b8d217a943a4c5b6d332e32d7d8913a49e.zip
CMake-ed55b1b8d217a943a4c5b6d332e32d7d8913a49e.tar.gz
CMake-ed55b1b8d217a943a4c5b6d332e32d7d8913a49e.tar.bz2
Remove unused code from CTest test suite
We remove from Tests/CTestTest*/CMakeLists.txt some historical cruft that is no longer used by the test suite.
Diffstat (limited to 'Tests/CTestTestParallel/CMakeLists.txt')
-rw-r--r--Tests/CTestTestParallel/CMakeLists.txt12
1 files changed, 1 insertions, 11 deletions
diff --git a/Tests/CTestTestParallel/CMakeLists.txt b/Tests/CTestTestParallel/CMakeLists.txt
index 1e57074..8fab44b 100644
--- a/Tests/CTestTestParallel/CMakeLists.txt
+++ b/Tests/CTestTestParallel/CMakeLists.txt
@@ -1,17 +1,9 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(CTestTestParallel)
-
-SET(DART_ROOT "" CACHE STRING "" FORCE)
-ENABLE_TESTING()
-INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
-
-GET_FILENAME_COMPONENT(CTEST_COMMAND "${CMAKE_COMMAND}" PATH)
-SET(CTEST_COMMAND "${CTEST_COMMAND}/ctest")
+INCLUDE(CTest)
ADD_EXECUTABLE (LockFile lockFile.c)
-ENABLE_TESTING ()
-
ADD_TEST (TestRunSerial1 LockFile)
ADD_TEST (TestRunSerial2 LockFile)
SET_TESTS_PROPERTIES(TestRunSerial1 TestRunSerial2 PROPERTIES RUN_SERIAL true)
@@ -19,5 +11,3 @@ SET_TESTS_PROPERTIES(TestRunSerial1 TestRunSerial2 PROPERTIES RUN_SERIAL true)
ADD_TEST (TestProcessorsGreaterThanMPL1 LockFile)
ADD_TEST (TestProcessorsGreaterThanMPL2 LockFile)
SET_TESTS_PROPERTIES(TestProcessorsGreaterThanMPL1 PROPERTIES PROCESSORS 10)
-
-INCLUDE (CTest)