Marcel Telka
2023-08-16 a3c9c336009439d8fa3be579d35655388e19cd6a
setup.py.mk: $(PYV) is not defined

1 files modified
16 ■■■■ changed files
make-rules/setup.py.mk 16 ●●●● patch | view | raw | blame | history
make-rules/setup.py.mk
@@ -418,14 +418,14 @@
# installed (it is neither in REQUIRED_PACKAGES nor in TEST_REQUIRED_PACKAGES)
# we simply disable the plugin to get consistent test results.
#
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-black-$(PYV), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:black)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-checkdocs-$(PYV), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:checkdocs)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-cov-$(PYV), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:cov)
PYTEST_ADDOPTS += $(if $(filter library/python/flaky-$(PYV), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:flaky)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-mypy-$(PYV), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:mypy)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-randomly-$(PYV), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:randomly)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-relaxed-$(PYV), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:relaxed)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-reporter-$(PYV), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:reporter)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-black-$(subst .,,$(PYTHON_VERSION)), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:black)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-checkdocs-$(subst .,,$(PYTHON_VERSION)), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:checkdocs)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-cov-$(subst .,,$(PYTHON_VERSION)), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:cov)
PYTEST_ADDOPTS += $(if $(filter library/python/flaky-$(subst .,,$(PYTHON_VERSION)), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:flaky)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-mypy-$(subst .,,$(PYTHON_VERSION)), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:mypy)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-randomly-$(subst .,,$(PYTHON_VERSION)), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:randomly)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-relaxed-$(subst .,,$(PYTHON_VERSION)), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:relaxed)
PYTEST_ADDOPTS += $(if $(filter library/python/pytest-reporter-$(subst .,,$(PYTHON_VERSION)), $(REQUIRED_PACKAGES) $(TEST_REQUIRED_PACKAGES)),,-p no:reporter)
# Normalize pytest test results.  The pytest framework could be used either
# directly or via tox or setup.py so add these transforms for all test styles