From: Matthias Maier Date: Mon, 6 Apr 2015 00:59:01 +0000 (+0200) Subject: Testsuite: Correctly store TEST_PICKUP_REGEX and similar variables in testsuite subpr... X-Git-Tag: v8.3.0-rc1~317^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d084bd3c12c20ffccd697e71dfe65d05d8fbd99;p=dealii.git Testsuite: Correctly store TEST_PICKUP_REGEX and similar variables in testsuite subprojects --- diff --git a/tests/setup_testsubproject.cmake b/tests/setup_testsubproject.cmake index b91850e801..80892765f2 100644 --- a/tests/setup_testsubproject.cmake +++ b/tests/setup_testsubproject.cmake @@ -3,13 +3,9 @@ FIND_PACKAGE(deal.II 8.0 REQUIRED HINTS ${DEAL_II_DIR}) SET(CMAKE_BUILD_TYPE DebugRelease CACHE STRING "" FORCE) DEAL_II_INITIALIZE_CACHED_VARIABLES() -# -# Silence warnings: -# FOREACH(_var DIFF_DIR NUMDIFF_DIR TEST_PICKUP_REGEX TEST_TIME_LIMIT) - IF(DEFINED ${_var}) - SET(_bogus "${${_var}}") - ENDIF() + SET_IF_EMPTY(${_var} "${${_var}}") + SET(${_var} "${${_var}}" CACHE STRING "" FORCE) ENDFOREACH() #