From: Peter Munch Date: Sun, 27 Dec 2020 18:22:20 +0000 (+0100) Subject: Fix tests with output files with same name X-Git-Tag: v9.3.0-rc1~717^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07e6220ae35f353e1f2796b4a3408aa2ec49fc1f;p=dealii.git Fix tests with output files with same name --- diff --git a/cmake/macros/macro_deal_ii_add_test.cmake b/cmake/macros/macro_deal_ii_add_test.cmake index c1ea0e8171..ecf915db08 100644 --- a/cmake/macros/macro_deal_ii_add_test.cmake +++ b/cmake/macros/macro_deal_ii_add_test.cmake @@ -166,14 +166,14 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file) SET(_source_file "${_test_name}.cc") - SET(_target ${_test_name}.${_build_lowercase}) # target name + SET(_target ${_category}.${_test_name}.${_build_lowercase}) # target name SET(_run_args "$") # the command to issue ELSEIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${_test_name}.cu") SET(_source_file "${_test_name}.cu") - SET(_target ${_test_name}.${_build_lowercase}) # target name + SET(_target ${_category}.${_test_name}.${_build_lowercase}) # target name SET(_run_args "$") # the command to issue ELSEIF( EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${_test_name}.prm" OR