2016-03-10 11:45:53 +01:00
|
|
|
# load triqs helper to set up tests
|
2018-01-22 23:49:04 +01:00
|
|
|
set(all_tests
|
2016-03-10 17:14:15 +01:00
|
|
|
inpconf
|
2016-03-24 19:25:34 +01:00
|
|
|
# plocar_io
|
2016-03-10 17:14:15 +01:00
|
|
|
plotools
|
|
|
|
proj_group
|
|
|
|
proj_shell
|
2016-03-10 18:43:49 +01:00
|
|
|
vaspio
|
|
|
|
atm)
|
2016-03-10 17:14:15 +01:00
|
|
|
|
2018-01-22 23:49:04 +01:00
|
|
|
FILE(COPY ${all_tests} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
2016-03-10 17:14:15 +01:00
|
|
|
FILE(COPY run_suite.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
2016-03-10 11:45:53 +01:00
|
|
|
|
2018-01-22 23:49:04 +01:00
|
|
|
foreach(t ${all_tests})
|
2018-09-06 15:09:30 +02:00
|
|
|
add_test(NAME ${t} COMMAND ${python_executable} run_suite.py ${t})
|
2018-01-22 23:49:04 +01:00
|
|
|
endforeach()
|
|
|
|
|
|
|
|
set_property(TEST ${all_tests} PROPERTY ENVIRONMENT PYTHONPATH=${CMAKE_BINARY_DIR}/python:$ENV{PYTHONPATH} )
|