2016-03-10 11:45:53 +01:00
|
|
|
# load triqs helper to set up tests
|
2016-03-10 17:14:15 +01:00
|
|
|
set(TestSuites
|
|
|
|
inpconf
|
|
|
|
plocar_io
|
|
|
|
plotools
|
|
|
|
proj_group
|
|
|
|
proj_shell
|
2016-03-10 18:43:49 +01:00
|
|
|
vaspio
|
|
|
|
atm)
|
2016-03-10 17:14:15 +01:00
|
|
|
|
|
|
|
FILE(COPY ${TestSuites} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
FILE(COPY run_suite.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
2016-03-10 11:45:53 +01:00
|
|
|
|
2016-03-10 17:14:15 +01:00
|
|
|
foreach(test_suite ${TestSuites})
|
|
|
|
add_test(${test_suite}
|
|
|
|
${PythonBuildExecutable} run_suite.py ${test_suite})
|
|
|
|
endforeach(test_suite ${TestSuites})
|