Makefile: add make test target.
This may be faster than `make coverage`. Signed-off-by: Jeff Epler <jepler@gmail.com>
This commit is contained in:
parent
ac8b14f7f2
commit
af7007f77f
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -36,6 +36,10 @@ coverage:
|
|||
$(Q)$(PYTHON) -mcoverage xml $(COVERAGE_INCLUDE)
|
||||
$(Q)$(PYTHON) -mcoverage report --fail-under=100 $(COVERAGE_INCLUDE)
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
$(Q)env PYTHONPATH=src $(PYTHON) -munittest discover -s test
|
||||
|
||||
.PHONY: test_venv
|
||||
test_venv:
|
||||
$(Q)$(PYTHON) -mvenv --clear _env
|
||||
|
|
|
|||
Loading…
Reference in a new issue