From ea3f2c7049abbc3d675441f5b73b0626153898a5 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Thu, 24 Sep 2020 21:10:47 +0200 Subject: [PATCH] Enable tests with same name --- cmake/macros/macro_deal_ii_add_test.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5