From 07e6220ae35f353e1f2796b4a3408aa2ec49fc1f Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Sun, 27 Dec 2020 19:22:20 +0100 Subject: [PATCH] Fix tests with output files 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 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 -- 2.39.5