netgen/tests/pytest/CMakeLists.txt

6 lines
311 B
CMake
Raw Normal View History

if(USE_PYTHON)
add_test(NAME pytest COMMAND ${PYTHON_EXECUTABLE} -m pytest WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
add_custom_target(pytest ${PYTHON_EXECUTABLE} -m pytest WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
2019-09-10 14:09:08 +05:00
set_tests_properties ( pytest PROPERTIES TIMEOUT 1200 )
endif(USE_PYTHON)