From 96c334f6bcf05be9216d4d67ed34f21e2e5165d3 Mon Sep 17 00:00:00 2001 From: shifter Date: Wed, 25 Sep 2024 18:27:34 +0200 Subject: [PATCH] light test: add EXTRA_ARGS processing on light tests this way the light tests are filterable with the following formula: ```make light-check EXTRA_ARGS="-k test_unset_empties"``` Signed-off-by: shifter --- tests/light/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/light/CMakeLists.txt b/tests/light/CMakeLists.txt index 1f54317417..a76aee679b 100644 --- a/tests/light/CMakeLists.txt +++ b/tests/light/CMakeLists.txt @@ -3,7 +3,7 @@ add_custom_target(light-self-check DEPENDS BuildPyVirtualEnv) add_custom_target(light-check - COMMAND ${PYTHON_VENV_EXECUTABLE} -m pytest ${PROJECT_SOURCE_DIR}/tests/light/functional_tests --installdir=${CMAKE_INSTALL_PREFIX} --showlocals --verbosity=3 + COMMAND ${PYTHON_VENV_EXECUTABLE} -m pytest ${PROJECT_SOURCE_DIR}/tests/light/functional_tests --installdir=${CMAKE_INSTALL_PREFIX} --showlocals --verbosity=3 $$EXTRA_ARGS DEPENDS BuildPyVirtualEnv) add_custom_target(light-linters