summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestTimeout
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/CTestTestTimeout
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/CTestTestTimeout')
-rw-r--r--Tests/CTestTestTimeout/CMakeLists.txt13
1 files changed, 1 insertions, 12 deletions
diff --git a/Tests/CTestTestTimeout/CMakeLists.txt b/Tests/CTestTestTimeout/CMakeLists.txt
index ed7f175..5fce680 100644
--- a/Tests/CTestTestTimeout/CMakeLists.txt
+++ b/Tests/CTestTestTimeout/CMakeLists.txt
@@ -1,17 +1,9 @@
cmake_minimum_required (VERSION 2.8)
PROJECT(CTestTestTimeout)
-
-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 (Timeout timeout.c)
-ENABLE_TESTING ()
-
ADD_TEST(NAME TestTimeout
COMMAND ${CMAKE_COMMAND} -D Timeout=$<TARGET_FILE:Timeout>
-D Log=${CMAKE_CURRENT_BINARY_DIR}/timeout.log
@@ -25,6 +17,3 @@ ADD_TEST(NAME CheckChild
-P ${CMAKE_CURRENT_SOURCE_DIR}/check.cmake
)
SET_TESTS_PROPERTIES(CheckChild PROPERTIES DEPENDS TestTimeout)
-
-
-INCLUDE (CTest)