Skip to content

Commit

Permalink
Add PYTEST_FLAGS to Makefile
Browse files Browse the repository at this point in the history
This patch adds a PYTEST_FLAGS variable to the test target to make it
esay to select specific tests or set additional options.
  • Loading branch information
robin-nitrokey committed May 3, 2024
1 parent 65d6685 commit 527b659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ nethsm-client: nethsm-api.yaml

.PHONY: test
test:
$(PYTHON3_VENV) -m pytest --cov nethsm --cov-report=xml
$(PYTHON3_VENV) -m pytest --cov nethsm --cov-report=xml $(PYTEST_FLAGS)

0 comments on commit 527b659

Please sign in to comment.