[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Dec 2 09:16:28 EST 2009


Update of /cvsroot/CMake/CMake/Tests/CTestTestFailure
In directory public:/mounts/ram/cvs-serv10821/Tests/CTestTestFailure

Modified Files:
	CMakeLists.txt 
Log Message:
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.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CTestTestFailure/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CMakeLists.txt	18 Sep 2009 16:16:38 -0000	1.1
--- CMakeLists.txt	2 Dec 2009 14:16:24 -0000	1.2
***************
*** 1,19 ****
  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")
  
  ADD_EXECUTABLE (NoBuild badCode.cxx)
  TARGET_LINK_LIBRARIES (NoBuild ${EXTRA_LIBS})
  
- ENABLE_TESTING ()
- 
  ADD_TEST (TestNoExe NoBuild)
- 
- INCLUDE (CTest)
- 
--- 1,8 ----
  cmake_minimum_required (VERSION 2.6)
  PROJECT(CTestTestFailure)
! INCLUDE(CTest)
  
  ADD_EXECUTABLE (NoBuild badCode.cxx)
  TARGET_LINK_LIBRARIES (NoBuild ${EXTRA_LIBS})
  
  ADD_TEST (TestNoExe NoBuild)



More information about the Cmake-commits mailing list