summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestFailure/CMakeLists.txt
diff options
context:
space:
mode:
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)
-