Skip to content
Snippets Groups Projects
Commit 9c254b6f authored by Andreas Dedner's avatar Andreas Dedner
Browse files

enable embed test by providing the run-in-dune-env as COMMAND option to test

parent ddd52883
Branches
Tags
1 merge request!960refactor the way python is used in dune
......@@ -6,8 +6,11 @@ dune_python_add_test(NAME pythontests
dune_add_test(SOURCES test_embed1.cc
LINK_LIBRARIES ${DUNE_LIBS} ${Python3_LIBRARIES}
LABELS quick
)
COMMAND ${CMAKE_BINARY_DIR}/run-in-dune-env
)
# add_executable(test_embed1 EXCLUDE_FROM_ALL test_embed1.cc)
# target_link_libraries(test_embed1 PUBLIC ${DUNE_LIBS} ${Python3_LIBRARIES})
add_executable(test_embed2 EXCLUDE_FROM_ALL test_embed2.cc)
target_link_libraries(test_embed2 PUBLIC ${DUNE_LIBS} ${Python3_LIBRARIES})
# the following should apparently work but doesn't target_link_libraries(test_embed2 PRIVATE Python3::Python)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment