1
0
Fork 0
mirror of https://github.com/mikegerber/ocrd_calamari.git synced 2025-06-09 03:39:55 +02:00

🐛 Makefile: Fix "make test"

This commit is contained in:
Gerber, Mike 2019-12-04 17:35:48 +01:00
parent c46b719c3d
commit 40316904d4

View file

@ -3,6 +3,7 @@ PIP_INSTALL = pip3 install
# '$(GIT_CLONE)' # '$(GIT_CLONE)'
GIT_CLONE = git clone GIT_CLONE = git clone
PYTHON = python3
# BEGIN-EVAL makefile-parser --make-help Makefile # BEGIN-EVAL makefile-parser --make-help Makefile
@ -23,6 +24,7 @@ help:
@echo "" @echo ""
@echo " Variables" @echo " Variables"
@echo "" @echo ""
@echo " PYTHON '$(PYTHON)'"
@echo " PIP_INSTALL '$(PIP_INSTALL)'" @echo " PIP_INSTALL '$(PIP_INSTALL)'"
@echo " GIT_CLONE '$(GIT_CLONE)'" @echo " GIT_CLONE '$(GIT_CLONE)'"
@ -75,7 +77,7 @@ assets-clean:
# Run unit tests # Run unit tests
test: test/assets calamari_models test: test/assets calamari_models
# declare -p HTTP_PROXY # declare -p HTTP_PROXY
python3 -m pytest --continue-on-collection-errors test $(PYTEST_ARGS) $(PYTHON) -m pytest --continue-on-collection-errors test $(PYTEST_ARGS)
# Run unit tests and determine test coverage # Run unit tests and determine test coverage
coverage: test/assets calamari_models coverage: test/assets calamari_models