mirror of
https://github.com/triqs/dft_tools
synced 2025-01-08 04:15:50 +01:00
11d394fd5b
* moved the plovasp C++ code to c++/triqs_dft_tools/converters/vasp * added global header triqs_dft_tools/triqs_dft_tools.hpp * python dir based on single cmakelist file * registered C++ tests for plovasp * corrected imports for py3 tests for plovasp * corrected block order in sigma_from_file and srvo3_Gloc * exchanged ref files for sigma_from_file, srvo3_Gloc, SrVO3.ref.h5 * moved vasp converter bash scripts from dir shells to bin dir
21 lines
553 B
CMake
21 lines
553 B
CMake
# load triqs helper to set up tests
|
|
set(all_tests
|
|
inpconf
|
|
proj_group
|
|
proj_shell
|
|
vaspio
|
|
atm
|
|
plotools
|
|
converter
|
|
)
|
|
|
|
FILE(COPY ${all_tests} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
|
FILE(COPY run_suite.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
foreach(test_name ${all_tests})
|
|
add_test(NAME Py_${test_name} COMMAND ${TRIQS_PYTHON_EXECUTABLE} run_suite.py ${t})
|
|
set_property(TEST Py_${test_name} APPEND PROPERTY ENVIRONMENT PYTHONPATH=${PROJECT_BINARY_DIR}/python:$ENV{PYTHONPATH} ${SANITIZER_RT_PRELOAD})
|
|
endforeach()
|
|
|
|
|