From: Matthias Maier Date: Mon, 16 Sep 2013 15:50:47 +0000 (+0000) Subject: Bugfix: Be way more restrictive in what to pass down to the subprojects X-Git-Tag: v8.1.0~570^2~324 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b4056ec7aefe4422537bd4974978f4eca4f2e7;p=dealii.git Bugfix: Be way more restrictive in what to pass down to the subprojects git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30730 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ab44c9dd0d..326911ffce 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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()