From: 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7cf73289198e5d4a42e7463f4e4b3d8d6c66575;p=dealii-svn.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()