From 7de002846400284818f228737b0a0978f8287b2e Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Fri, 26 Jun 2009 07:20:48 +0200 Subject: [PATCH] Added test option variable TESTOPTS to set nosetest options on the commandline --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e09a3720..0ca9e9bb 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,8 @@ LCOPTS=-Ftext -Fhtml -Fgml -Fsql -Fcsv -Fxml -Fgxml -Fdot -v -r1 -C PYTHONSRC=/home/calvin/src/python-gitsvn PY_FILES_DIRS=linkcheck tests *.py linkchecker gui cgi-bin config doc TESTS ?= tests/ +# set test options, eg. to "--nologcapture" +TESTOPTS= PAGER ?= less # build dir for debian package BUILDDIR=/home/calvin/packages/official @@ -126,7 +128,7 @@ sign_distfiles: .PHONY: test test: localbuild - nosetests -v -m "^test_.*" $(TESTS) + nosetests -v -m "^test_.*" $(TESTOPTS) $(TESTS) .PHONY: pyflakes pyflakes: