From: Matthias Maier Date: Sun, 30 Aug 2015 02:09:50 +0000 (-0500) Subject: Testsuite: Let the diff target depend on all comparison file variants X-Git-Tag: v8.4.0-rc2~519^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55d381888e449fd81769c7da51d90ab1350ba25e;p=dealii.git Testsuite: Let the diff target depend on all comparison file variants --- diff --git a/cmake/macros/macro_deal_ii_add_test.cmake b/cmake/macros/macro_deal_ii_add_test.cmake index c0ceb86a37..cdfaaf1010 100644 --- a/cmake/macros/macro_deal_ii_add_test.cmake +++ b/cmake/macros/macro_deal_ii_add_test.cmake @@ -247,6 +247,8 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file) VERBATIM ) + FILE(GLOB _comparison_files ${_comparison_file} ${_comparison_file}.*) + ADD_CUSTOM_COMMAND(OUTPUT ${_test_directory}/diff COMMAND sh ${DEAL_II_PATH}/${DEAL_II_SHARE_RELDIR}/scripts/run_test.sh diff "${_test_full}" "${_run_command}" "${_test_diff}" @@ -255,7 +257,7 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file) ${_test_directory} DEPENDS ${_test_directory}/output - ${_comparison_file} + ${_comparison_files} VERBATIM )