From 764373c2a63a2c92ca5f561373c9774ddad772f1 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Tue, 8 Dec 2020 15:37:43 -0800 Subject: [PATCH] fail on first failure when testing, this makes debug prints more likely to be visible.. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 12397be..361a7b3 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ MODULES=bitelab VIRTUALENV?=virtualenv-3.8 test: - (ls $(MODULES)/*.py | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)).testing && coverage report --omit=p/\* -m -i') + (ls $(MODULES)/*.py | entr sh -c 'python -m coverage run -m unittest -f $(basename $(MODULES)).testing && coverage report --omit=p/\* -m -i') env: ($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt)