3
0
mirror of https://github.com/triqs/dft_tools synced 2024-07-08 20:33:54 +02:00

Fix but 2 tests

- inpconf due to a silly string comparion issue
- vaspio ??
This commit is contained in:
Olivier Parcollet 2018-01-22 17:49:04 -05:00
parent 1a0ba43f8d
commit a88ea9c469

View File

@ -1,5 +1,5 @@
# load triqs helper to set up tests # load triqs helper to set up tests
set(TestSuites set(all_tests
inpconf inpconf
# plocar_io # plocar_io
plotools plotools
@ -8,10 +8,11 @@ set(TestSuites
vaspio vaspio
atm) atm)
FILE(COPY ${TestSuites} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) FILE(COPY ${all_tests} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
FILE(COPY run_suite.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) FILE(COPY run_suite.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
foreach(test_suite ${TestSuites}) foreach(t ${all_tests})
add_test(${test_suite} add_test(NAME ${t} COMMAND python run_suite.py ${t})
${PythonBuildExecutable} run_suite.py ${test_suite}) endforeach()
endforeach(test_suite ${TestSuites})
set_property(TEST ${all_tests} PROPERTY ENVIRONMENT PYTHONPATH=${CMAKE_BINARY_DIR}/python:$ENV{PYTHONPATH} )