From 8bf30ffeb8431583dbd447153527a9ae53cdc55a Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sat, 21 Jan 2017 09:32:38 +0100 Subject: Make is simple to override nose flags on the command line e.g. for passing in -x --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ad61026f..cfd997b1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ PY_EXAMPLES=$(shell grep -l /usr/bin/python examples/*) FLAKE_OPTS=$(shell test -w /dev/shm || echo '-j1') +NOSE_FLAGS=--with-xcoverage all: syntax-check test @@ -12,7 +13,7 @@ test: export GIT_COMMITTER_NAME=$$GIT_AUTHOR_NAME; \ export GIT_COMMITTER_EMAIL=$$GIT_AUTHOR_EMAIL; \ PYTHONPATH=. \ - python setup.py nosetests --with-xcoverage + python setup.py nosetests $(NOSE_FLAGS) syntax-check: flake8 $(FLAKE_OPTS) -- cgit v1.2.3