3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-26 14:23:38 +01:00
dft_tools/test/plovasp/CMakeLists.txt
Olivier Parcollet a88ea9c469 Fix but 2 tests
- inpconf due to a silly string comparion issue
- vaspio ??
2018-01-22 17:49:04 -05:00

19 lines
476 B
CMake

# load triqs helper to set up tests
set(all_tests
inpconf
# plocar_io
plotools
proj_group
proj_shell
vaspio
atm)
FILE(COPY ${all_tests} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
FILE(COPY run_suite.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
foreach(t ${all_tests})
add_test(NAME ${t} COMMAND python run_suite.py ${t})
endforeach()
set_property(TEST ${all_tests} PROPERTY ENVIRONMENT PYTHONPATH=${CMAKE_BINARY_DIR}/python:$ENV{PYTHONPATH} )