Run the pylorax tests with 'make test'
Without a specific test directory it wasn't running the test(s), just doing a coverage report.
This commit is contained in:
parent
629d04dc68
commit
b3eb4fa8a4
4
Makefile
4
Makefile
@ -28,7 +28,9 @@ check:
|
||||
test:
|
||||
@echo "*** Running tests ***"
|
||||
PYTHONPATH=$(PYTHONPATH):./src/ $(PYTHON) -m nose -v --with-coverage --cover-erase --cover-branches \
|
||||
--cover-package=pylorax --cover-package=bin --cover-package=sbin --cover-inclusive
|
||||
--cover-package=pylorax --cover-package=bin --cover-package=sbin --cover-inclusive \
|
||||
./tests/pylorax/
|
||||
|
||||
coverage3 report -m
|
||||
[ -f "/usr/bin/coveralls" ] && [ -n "$(COVERALLS_REPO_TOKEN)" ] && coveralls || echo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user