]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Testsuite: Let the diff target depend on all comparison file variants
authorMatthias Maier <tamiko@43-1.org>
Sun, 30 Aug 2015 02:09:50 +0000 (21:09 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 30 Aug 2015 18:17:00 +0000 (13:17 -0500)
cmake/macros/macro_deal_ii_add_test.cmake

index c0ceb86a375e9d73bb776514caacbd79cc3d6db4..cdfaaf10101998aa7da47327bdef5156a8244557 100644 (file)
@@ -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
         )
 

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.