]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Testsuite: Bugfix: Take over specific variables to the test subprojects 753/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 8 Apr 2015 16:03:53 +0000 (18:03 +0200)
committerMatthias Maier <tamiko@43-1.org>
Wed, 8 Apr 2015 16:03:53 +0000 (18:03 +0200)
tests/CMakeLists.txt

index 1fe05763a9ebb8f541202101b1f4f08b4d8f2cbe..737c1d010bb8f4220896acd448a30455b5e73b44 100644 (file)
@@ -79,6 +79,9 @@ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/CTestTestfile.cmake "")
 #
 FOREACH(_var DIFF_DIR NUMDIFF_DIR TEST_PICKUP_REGEX TEST_TIME_LIMIT)
   LIST(APPEND _options "-U${_var}")
+  IF(NOT "${${_var}}" STREQUAL "")
+    LIST(APPEND _options "-D${_var}=${${_var}}")
+  ENDIF()
 ENDFOREACH()
 
 SET(_categories

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.