Skip to content
Snippets Groups Projects
Commit f21ce757 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Fix cmake error with dune_add_python_test

parent b3b1c7a2
No related branches found
No related tags found
1 merge request!137Fix cmake error with dune_add_python_test
......@@ -26,11 +26,11 @@ set(DUNE_TESTTOOLS_PATH ${PROJECT_SOURCE_DIR})
dune_python_install_package(PATH python)
dune_python_add_test(NAME pytest
COMMAND ${DUNE_PYTHON_VIRTUALENV_EXECUTABLE} -m pytest
SCRIPT pytest
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/python
)
dune_python_add_test(NAME pep8
COMMAND ${DUNE_PYTHON_VIRTUALENV_EXECUTABLE} -m pytest --pep8
SCRIPT pytest --pep8
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/python
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment