CMakeLists.txt 1.33 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 14
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
15 16 17 18 19
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)
20
dorie_add_system_test_dependency(dorie_muphi dorie-rfg_muphi_pfg)
21 22 23
dorie_add_system_test(dorie reference_2d.mini)
dorie_add_system_test(dorie reference_3d.mini)
dorie_add_system_test(dorie reference_evaporation.mini)
Dion Haefner's avatar
Dion Haefner committed
24
dorie_add_system_test(dorie reference_interpolators.mini)
25 26

# dorie pfg
27 28 29 30
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)
31 32

# dorie plot
33 34
dorie_add_system_test(dorie plot.mini)
dorie_add_system_test_dependency(dorie_plot dorie_reference_2d_0000)
35 36

# dorie create
37
dorie_add_system_test(dorie create.mini)