From 55d381888e449fd81769c7da51d90ab1350ba25e Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sat, 29 Aug 2015 21:09:50 -0500 Subject: [PATCH] Testsuite: Let the diff target depend on all comparison file variants --- cmake/macros/macro_deal_ii_add_test.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) -- 2.39.5