]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Remove obsolete code
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 Oct 2013 21:32:19 +0000 (21:32 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 Oct 2013 21:32:19 +0000 (21:32 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31106 0785d39b-7218-0410-832d-ea1e28bc413d

tests/CMakeLists.txt

index dd27363bacd68661da22b062a8e949a00fcca573..f62f2843a086f9dd0ba14c9beea95c40c321a8b1 100644 (file)
@@ -34,28 +34,14 @@ IF(NOT "${CMAKE_PROJECT_NAME}" STREQUAL "deal.II")
 ENDIF()
 
 SET(_options)
-IF("${CMAKE_PROJECT_NAME}" STREQUAL "deal.II")
-  #
-  # Setup for the case that this folder is included as a subfolder in a
-  # deal.II project:
-  #
-
-  # Write a minimalistic CTestTestfile.cmake file to CMAKE_BINARY_DIR:
-  FILE(WRITE ${CMAKE_BINARY_DIR}/CTestTestfile.cmake
-    "SUBDIRS(tests)"
-    )
-
-  LIST(APPEND _options -DDEAL_II_SOURCE_DIR=${CMAKE_SOURCE_DIR})
-  LIST(APPEND _options -DDEAL_II_BINARY_DIR=${CMAKE_BINARY_DIR})
-
-ELSE()
 
-  #
-  # Set up a top level test suite project:
-  #
+# Write a minimalistic CTestTestfile.cmake file to CMAKE_BINARY_DIR:
+FILE(WRITE ${CMAKE_BINARY_DIR}/CTestTestfile.cmake
+  "SUBDIRS(tests)"
+  )
 
-  SET(TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR})
-ENDIF()
+LIST(APPEND _options -DDEAL_II_SOURCE_DIR=${CMAKE_SOURCE_DIR})
+LIST(APPEND _options -DDEAL_II_BINARY_DIR=${CMAKE_BINARY_DIR})
 
 #
 # Pass all relevant "TEST_" variables down to the subprojects:

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.