]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Epic bugfix: Provide full path of comparison file
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sat, 7 Sep 2013 03:32:37 +0000 (03:32 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sat, 7 Sep 2013 03:32:37 +0000 (03:32 +0000)
ndiff tricked me (diff succeeded if second file was nonexistent or short...)

git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30641 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_deal_ii_pickup_tests.cmake

index af6302289f8fe85ec03fb26dd6dd11c7d23b0467..ae2c374c8eed6fe2cccbcd182848cceee5a3118d 100644 (file)
@@ -29,6 +29,7 @@ MACRO(DEAL_II_PICKUP_TESTS)
 
   FILE(GLOB _tests "*.output")
   FOREACH(_test ${_tests})
+    SET(_comparison ${_test})
 
     #
     # Respect TEST_PICKUP_REGEX: Make sure we are allowed to pickup this
@@ -86,7 +87,6 @@ MACRO(DEAL_II_PICKUP_TESTS)
         SET(_configuration)
       ENDIF()
 
-      SET(_comparison ${_test})
       STRING(REGEX REPLACE "\\..*" "" _test ${_test})
       DEAL_II_ADD_TEST(${_category} ${_test} ${_comparison} ${_n_cpu} ${_configuration})
     ENDIF()

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.