summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestFailure/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/CTestTestFailure/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/CTestTestFailure/CMakeLists.txt')
-rw-r--r--Tests/CTestTestFailure/CMakeLists.txt13
1 files changed, 1 insertions, 12 deletions
diff --git a/Tests/CTestTestFailure/CMakeLists.txt b/Tests/CTestTestFailure/CMakeLists.txt
index 62ce7c5..690fbfc 100644
--- a/Tests/CTestTestFailure/CMakeLists.txt
+++ b/Tests/CTestTestFailure/CMakeLists.txt
@@ -1,19 +1,8 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(CTestTestFailure)
-
-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 (NoBuild badCode.cxx)
TARGET_LINK_LIBRARIES (NoBuild ${EXTRA_LIBS})
-ENABLE_TESTING ()
-
ADD_TEST (TestNoExe NoBuild)
-
-INCLUDE (CTest)
-