From 8944ef9f7c0f6b5308fa2a6ded1fca75d13f6ebf Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 23 Feb 2009 20:08:21 +0100 Subject: [PATCH] Make test directory configurable with TESTS makefile var --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2f509a4e..9efba482 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ HOST=www.debian.org LCOPTS=-Ftext -Fhtml -Fgml -Fsql -Fcsv -Fxml -Fgxml -Fdot -v -r1 -C PYTHONSVN=/home/calvin/src/python-svn PY_FILES_DIRS=linkcheck tests *.py linkchecker gui cgi-bin config doc +TESTS ?= tests/ # build dir for debian package BUILDDIR=/home/calvin/packages/official DEB_ORIG_TARGET=$(BUILDDIR)/linkchecker_$(VERSION).orig.tar.gz @@ -122,7 +123,7 @@ sign_distfiles: .PHONY: test test: localbuild - nosetests -m "^test_.*" tests/ + nosetests -m "^test_.*" $(TESTS) .PHONY: pyflakes pyflakes: