Commit df1f8410 authored by Lukas Riedel's avatar Lukas Riedel

Clean up test/CMakeLists.txt

* Remove old testing function definitions
* Update commented testing command (unused reference cases)
parent 54d6b1f3
message(STATUS "Handling system tests")
MESSAGE(STATUS "DUNE Libraries: ${DUNE_LIBS}")
function(dorie_add_system_test target metaini)
configure_file(${metaini}.in ${CMAKE_CURRENT_LIST_DIR}/${metaini})
dune_add_system_test(TARGET ${target} INIFILE ${metaini} SCRIPT test_dorie.py)
endfunction()
function(dorie_add_system_test_dependency test1 test2)
set_tests_properties(${test1} PROPERTIES DEPENDS ${test2})
endfunction()
# dorie run: ODE tests
dorie_add_metaini_test(TARGET dorie METAINI ode_homogeneous_sand.mini.in)
......@@ -29,10 +19,10 @@ add_custom_target(test_run_ref
COMMAND ctest --output-on-failure --tests-regex ^.+_ref_.+$
)
# dorie_add_system_test(dorie reference_2d.mini.in)
# dorie_add_system_test(dorie reference_3d.mini.in)
# dorie_add_system_test(dorie reference_evaporation.mini.in)
# dorie_add_system_test(dorie reference_interpolators.mini.in)
# dorie_add_metaini_test(TARGET dorie METAINI reference_2d.mini.in)
# dorie_add_metaini_test(TARGET dorie METAINI reference_3d.mini.in)
# dorie_add_metaini_test(TARGET dorie METAINI reference_evaporation.mini.in)
# dorie_add_metaini_test(TARGET dorie METAINI reference_interpolators.mini.in)
# dorie in parallel
dorie_add_metaini_test(TARGET dorie METAINI parallel_reference.mini.in)
......@@ -56,7 +46,6 @@ set_tests_properties(dorie-rfg_exec_0000 PROPERTIES FIXTURES_SETUP dorie_run)
set_tests_properties(dorie_exec_run PROPERTIES FIXTURES_REQUIRED dorie_run)
dorie_add_metaini_test(TARGET dorie METAINI plot.mini.in)
dorie_add_system_test_dependency(dorie_exec_plot dorie_exec_run)
set_tests_properties(dorie_exec_run PROPERTIES FIXTURES_SETUP dorie_plot)
set_tests_properties(dorie_exec_plot PROPERTIES FIXTURES_REQUIRED dorie_plot)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment