]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Testsuite: Bugfix 681/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 23 Mar 2015 13:29:58 +0000 (14:29 +0100)
committerMatthias Maier <tamiko@43-1.org>
Mon, 23 Mar 2015 13:29:58 +0000 (14:29 +0100)
Do not accidentally set _pickup_test to true

tests/macro_pickup_tests.cmake

index f6d6d584145d0b5a699a56eb85985959d18b2f20..3d4b1c109db252d1193e4dd8ae219491ac3517d4 100644 (file)
@@ -109,7 +109,9 @@ The feature \"DEAL_II_${_feature}\" does not exist.\n"
       STRING(REGEX MATCH "([0-9]+(\\.[0-9]+)*)$" _version ${_match})
       IF(NOT "${_version}" STREQUAL "")
 
-        SET(_define_test ${DEAL_II_WITH_${_feature}})
+        IF(NOT ${DEAL_II_WITH_${_feature}})
+          SET(_define_test FALSE)
+        ENDIF()
 
         IF("${DEAL_II_${_feature}_VERSION}" VERSION_LESS "${_version}")
           SET(_define_test FALSE)

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.