CMakeLists.txt 1.13 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
Dion Haefner's avatar
debug  
Dion Haefner committed
15 16 17 18 19 20
#dorie_add_system_test(dorie ode.mini)
#dorie_add_system_test(dorie ode_higherorder.mini)
#dorie_add_system_test(dorie muphi.mini)
#dorie_add_system_test_dependency(dorie_muphi dorie-pfg_muphi_pfg)
#dorie_add_system_test(dorie reference_2d.mini)
#dorie_add_system_test(dorie reference_3d.mini)
21 22

# dorie pfg
Dion Haefner's avatar
debug  
Dion Haefner committed
23
#dorie_add_system_test(dorie-pfg parfield.mini)
Dion Haefner's avatar
Dion Haefner committed
24
dorie_add_system_test(dorie-pfg parfield_parallel.mini)
Dion Haefner's avatar
debug  
Dion Haefner committed
25 26
#dorie_add_system_test(dorie-pfg parfield_muphi.mini)
#dorie_add_system_test(dorie-pfg correlation.mini)
27 28

# dorie plot
Dion Haefner's avatar
debug  
Dion Haefner committed
29 30
#dorie_add_system_test(dorie plot.mini)
#dorie_add_system_test_dependency(dorie_plot dorie_reference_2d_0000)
31 32

# dorie create
Dion Haefner's avatar
debug  
Dion Haefner committed
33
#dorie_add_system_test(dorie create.mini)