diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,6 @@ PYTHON ?= python -NOSETESTS ?= nosetests +PYTEST ?= pytest DOC_ROOT = doc EXAMPLES = examples @@ -8,17 +8,17 @@ EXAMPLES = examples .PHONY: clean clean: doc-clean find . -name '*.pyc' -delete - rm -rf coverage .coverage rm -rf *.egg-info + rm -f coverage.xml .PHONY: test test: - $(NOSETESTS) -s -v gerber + $(PYTEST) .PHONY: test-coverage test-coverage: - rm -rf coverage .coverage - $(NOSETESTS) -s -v --with-coverage --cover-package=gerber + rm -rf coverage.xml + $(PYTEST) --cov=./ --cov-report=xml .PHONY: install install: |