Commit 8679221d authored by Baptiste Esteban's avatar Baptiste Esteban
Browse files

Add dependency to build-test and label it UnitTests

parent 6dfea59b
Pipeline #25613 failed with stages
in 14 minutes and 2 seconds
......@@ -8,6 +8,7 @@ pybind11_add_module(pylena_test pylena_test.cpp
target_link_libraries(pylena_test PRIVATE Pylene ImagePath)
target_include_directories(pylena_test PRIVATE ${CMAKE_SOURCE_DIR}/pylene-python/include)
add_dependencies(build-tests pylena_test)
function(add_python_test filename)
......@@ -18,4 +19,5 @@ add_python_test(
add_test(NAME test_python
COMMAND ${PYTHON_EXECUTABLE} -m unittest discover
\ No newline at end of file
set_tests_properties(test_python PROPERTIES LABELS UnitTests)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment