]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Enable tests with same name 10965/head
authorPeter Munch <peterrmuench@gmail.com>
Thu, 24 Sep 2020 19:10:47 +0000 (21:10 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Thu, 24 Sep 2020 19:10:47 +0000 (21:10 +0200)
cmake/macros/macro_deal_ii_add_test.cmake

index 92269949da40397c76f51fda3ae42faffaf4021c..c1ea0e8171be5f47a33907406bfedc4e0a23275c 100644 (file)
@@ -240,13 +240,13 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file)
       # otherwise run the test with mpirun:
       IF("${_n_cpu}" STREQUAL "0")
 
-        SET(_diff_target ${_test_name}.${_build_lowercase}.diff) # diff target name
+        SET(_diff_target ${_category}.${_test_name}.${_build_lowercase}.diff) # diff target name
         SET(_test_full ${_category}/${_test_name}.${_build_lowercase}) # full test name
         SET(_test_directory ${CMAKE_CURRENT_BINARY_DIR}/${_test_name}.${_build_lowercase}) # directory to run the test in
 
       ELSE()
 
-        SET(_diff_target ${_test_name}.mpirun${_n_cpu}.${_build_lowercase}.diff) # diff target name
+        SET(_diff_target ${_category}.${_test_name}.mpirun${_n_cpu}.${_build_lowercase}.diff) # diff target name
         SET(_test_full ${_category}/${_test_name}.mpirun=${_n_cpu}.${_build_lowercase}) # full test name
         SET(_test_directory ${CMAKE_CURRENT_BINARY_DIR}/${_test_name}.${_build_lowercase}/mpirun=${_n_cpu}) # directory to run the test in
         SET(_run_args

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.