Skip to content

Commit e03709f

Browse files
bshifterHofiOne
authored andcommitted
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 <[email protected]> Signed-off-by: Hofi <[email protected]>
1 parent 92c3c38 commit e03709f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/light/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_custom_target(light-self-check
33
DEPENDS BuildPyVirtualEnv)
44

55
add_custom_target(light-check
6-
COMMAND ${PYTHON_VENV_EXECUTABLE} -m pytest ${PROJECT_SOURCE_DIR}/tests/light/functional_tests --installdir=${CMAKE_INSTALL_PREFIX} --showlocals --verbosity=3
6+
COMMAND ${PYTHON_VENV_EXECUTABLE} -m pytest ${PROJECT_SOURCE_DIR}/tests/light/functional_tests --installdir=${CMAKE_INSTALL_PREFIX} --showlocals --verbosity=3 $$EXTRA_ARGS
77
DEPENDS BuildPyVirtualEnv)
88

99
add_custom_target(light-linters

0 commit comments

Comments
 (0)