Skip to content
Snippets Groups Projects
Unverified Commit 44df042c authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[cmake] fix dune_add_system_test usage

parent 9ad4c1a4
No related branches found
No related tags found
No related merge requests found
...@@ -62,13 +62,12 @@ macro(BEGIN_TESTCASES) ...@@ -62,13 +62,12 @@ macro(BEGIN_TESTCASES)
INIFILE ${inifile} INIFILE ${inifile}
BASENAME test_${testbase} BASENAME test_${testbase}
CREATED_TARGETS targetlist_${testbase} CREATED_TARGETS targetlist_${testbase}
ADDED_TESTS testlist_${testbase}
SCRIPT dune_xt_execute.py SCRIPT dune_xt_execute.py
${DEBUG_MACRO_TESTS}) ${DEBUG_MACRO_TESTS})
foreach(target ${targetlist_${testbase}}) foreach(target ${targetlist_${testbase}})
target_link_libraries( ${target} ${ARGN} ${COMMON_LIBS} ${GRID_LIBS} gtest_dune_xt_common ) target_link_libraries( ${target} ${ARGN} ${COMMON_LIBS} ${GRID_LIBS} gtest_dune_xt_common )
list(APPEND dxt_test_binaries ${target} ) list(APPEND dxt_test_binaries ${target} )
set(dxt_test_names_${target} ${testlist_${testbase}_${target}}) # set(dxt_test_names_${target} ${testlist_${testbase}_${target}})
endforeach(target) endforeach(target)
else( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${testbase}.mini ) else( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${testbase}.mini )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment