Skip to content
Snippets Groups Projects
Unverified Commit 08e4cf5a authored by Lars Bilke's avatar Lars Bilke
Browse files

[T] Add ctest label python.

parent 0cc67e83
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,9 @@ if(OGS_USE_PIP) ...@@ -34,7 +34,9 @@ if(OGS_USE_PIP)
COMMAND pytest -c ${PROJECT_SOURCE_DIR}/pyproject.toml COMMAND pytest -c ${PROJECT_SOURCE_DIR}/pyproject.toml
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
) )
set_tests_properties(pytest PROPERTIES LABELS "default") set_tests_properties(
pytest PROPERTIES LABELS "default;python" COST 10
)
add_dependencies( add_dependencies(
ctest ctest
......
...@@ -46,7 +46,7 @@ function(NotebookTest) ...@@ -46,7 +46,7 @@ function(NotebookTest)
if(EXISTS ${CMAKE_CURRENT_LIST_DIR}/ProcessLib) if(EXISTS ${CMAKE_CURRENT_LIST_DIR}/ProcessLib)
current_dir_as_list(ProcessLib labels) current_dir_as_list(ProcessLib labels)
endif() endif()
list(APPEND labels Notebook) list(APPEND labels Notebook python)
if(DEFINED NotebookTest_LABELS) if(DEFINED NotebookTest_LABELS)
list(APPEND labels ${NotebookTest_LABELS}) list(APPEND labels ${NotebookTest_LABELS})
else() else()
......
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