From b3eb4fa8a49f24be1029a5df5da39c4f42e8350a Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 12 Jan 2018 08:57:55 -0800 Subject: [PATCH] Run the pylorax tests with 'make test' Without a specific test directory it wasn't running the test(s), just doing a coverage report. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f07799e2..9ef02c36 100644 --- a/Makefile +++ b/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