Skip to content
Snippets Groups Projects

Fix cmake error with dune_add_python_test

1 unresolved thread
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -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
)
Loading