The TS-GitLab will have to shut down towards the end of the year — please think about migrating your projects to GitLab.com or GitHub.
(This is still a very early message, meant to keep you informed. There will be more urgent ones in the future.)

CMakeLists.txt 2.03 KB
Newer Older
Dion Haefner's avatar
Dion Haefner committed
1
message(STATUS "Handling system tests")
Dion Haefner's avatar
Dion Haefner committed
2

Dion Haefner's avatar
Dion Haefner committed
3 4
configure_file(CTestCustom.cmake ${CMAKE_BINARY_DIR} @ONLY)

5 6 7 8 9 10 11 12 13
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()

14
# dorie run
15 16 17 18 19 20
dorie_add_system_test(dorie ode_homogeneous_1.mini)
dorie_add_system_test(dorie ode_homogeneous_1_adapt.mini)
dorie_add_system_test(dorie ode_homogeneous_2.mini)
dorie_add_system_test(dorie ode_homogeneous_2_adapt.mini)
dorie_add_system_test(dorie ode_homogeneous_3.mini)
dorie_add_system_test(dorie ode_homogeneous_3_adapt.mini)
21 22 23 24 25 26 27 28

dorie_add_system_test(dorie ode_heterogeneous_1.mini)
dorie_add_system_test(dorie ode_heterogeneous_1_adapt.mini)
dorie_add_system_test(dorie ode_heterogeneous_2.mini)
dorie_add_system_test(dorie ode_heterogeneous_2_adapt.mini)
dorie_add_system_test(dorie ode_heterogeneous_3.mini)
dorie_add_system_test(dorie ode_heterogeneous_3_adapt.mini)

29 30 31 32 33 34 35 36 37 38
# dorie_add_system_test(dorie ode.mini)
# dorie_add_system_test(dorie ode_higherorder.mini)
# dorie_add_system_test(dorie ode_evaporation.mini)
# dorie_add_system_test(dorie ode_linear_interpolator.mini)
# dorie_add_system_test(dorie muphi.mini)
# dorie_add_system_test_dependency(dorie_muphi dorie-rfg_muphi_pfg)
# dorie_add_system_test(dorie reference_2d.mini)
# dorie_add_system_test(dorie reference_3d.mini)
# dorie_add_system_test(dorie reference_evaporation.mini)
# dorie_add_system_test(dorie reference_interpolators.mini)
39

40 41 42 43 44
# # dorie pfg
# dorie_add_system_test(dorie-rfg parfield.mini)
# dorie_add_system_test(dorie-rfg parfield_muphi.mini)
# dorie_add_system_test(dorie-rfg correlation.mini)
# dorie_add_system_test(dorie-rfg correlation_parallel.mini)
45

46 47 48
# # dorie plot
# dorie_add_system_test(dorie plot.mini)
# dorie_add_system_test_dependency(dorie_plot dorie_reference_2d_0000)
49

50 51
# # dorie create
# dorie_add_system_test(dorie create.mini)