From: Peter Munch Date: Thu, 24 Sep 2020 19:10:47 +0000 (+0200) Subject: Enable tests with same name X-Git-Tag: v9.3.0-rc1~1068^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10965%2Fhead;p=dealii.git Enable tests with same name --- diff --git a/cmake/macros/macro_deal_ii_add_test.cmake b/cmake/macros/macro_deal_ii_add_test.cmake index 92269949da..c1ea0e8171 100644 --- a/cmake/macros/macro_deal_ii_add_test.cmake +++ b/cmake/macros/macro_deal_ii_add_test.cmake @@ -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