]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix tests with output files with same name 11427/head
authorPeter Munch <peterrmuench@gmail.com>
Sun, 27 Dec 2020 18:22:20 +0000 (19:22 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 28 Dec 2020 08:08:43 +0000 (09:08 +0100)
cmake/macros/macro_deal_ii_add_test.cmake

index c1ea0e8171be5f47a33907406bfedc4e0a23275c..ecf915db0881d70e5c8c76e89e6352543662efc4 100644 (file)
@@ -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 "$<TARGET_FILE:${_target}>") # 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 "$<TARGET_FILE:${_target}>") # the command to issue
 
       ELSEIF( EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${_test_name}.prm" OR

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.