3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 20:34:38 +01:00

fixes CMakeLists from previous commit for running vasp tests

This commit is contained in:
Alexander Hampel 2020-08-03 12:25:08 +02:00
parent 7ce4316bbc
commit 79a72fdd98

View File

@ -14,7 +14,7 @@ FILE(COPY run_suite.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
foreach(test_name ${all_tests})
add_test(NAME Py_vasp_${test_name} COMMAND ${TRIQS_PYTHON_EXECUTABLE} run_suite.py ${test_name})
set_property(TEST Py_${test_name} APPEND PROPERTY ENVIRONMENT PYTHONPATH=${PROJECT_BINARY_DIR}/python:$ENV{PYTHONPATH} ${SANITIZER_RT_PRELOAD})
set_property(TEST Py_vasp_${test_name} APPEND PROPERTY ENVIRONMENT PYTHONPATH=${PROJECT_BINARY_DIR}/python:$ENV{PYTHONPATH} ${SANITIZER_RT_PRELOAD})
endforeach()