]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Be way more restrictive in what to pass down to the subprojects
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Sep 2013 15:50:47 +0000 (15:50 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Sep 2013 15:50:47 +0000 (15:50 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30730 0785d39b-7218-0410-832d-ea1e28bc413d

tests/CMakeLists.txt

index ab44c9dd0dd84a0d57d982212d0435df9dcb7536..326911ffce1a3bb2c0c5b559b7a803c0a38a154f 100644 (file)
@@ -65,13 +65,15 @@ IF(DEAL_II_WITH_UMFPACK)
 ENDIF()
 
 #
-# Pass all variables starting with "TEST_" down to the subprojects:
+# Pass all relevant "TEST_" variables down to the subprojects:
 #
 
 GET_CMAKE_PROPERTY(_variables VARIABLES)
 SET(_options)
 FOREACH(_var ${_variables})
-  IF(_var MATCHES "^TEST_")
+  IF(_var MATCHES
+      "^(TEST_DIR|TEST_DIFF|TEST_TIME_LIMIT|TEST_PICKUP_REGEX|NUMDIFF_DIR)$"
+      )
     LIST(APPEND _options -D${_var}="${${_var}}")
   ENDIF()
 ENDFOREACH()

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.