From: Matthias Maier Date: Sat, 7 Sep 2013 03:32:37 +0000 (+0000) Subject: Epic bugfix: Provide full path of comparison file X-Git-Tag: v8.1.0~570^2~361 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=151fe42fba43f567a0e927c88cc539afef87b343;p=dealii.git Epic bugfix: Provide full path of comparison file 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 --- diff --git a/deal.II/cmake/macros/macro_deal_ii_pickup_tests.cmake b/deal.II/cmake/macros/macro_deal_ii_pickup_tests.cmake index af6302289f..ae2c374c8e 100644 --- a/deal.II/cmake/macros/macro_deal_ii_pickup_tests.cmake +++ b/deal.II/cmake/macros/macro_deal_ii_pickup_tests.cmake @@ -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()