From a0678771cdb76437e6efcc62088169a920c0d0a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 11 May 2013 13:13:29 +0300 Subject: [PATCH] make path to nosetests executable configurable this is to make use python2 when nosetests points to python3: make NOSETEST=nosetests-2.7 tests --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b433ec16f8c..8f7ba9b39bb 100644 --- a/Makefile +++ b/Makefile @@ -59,12 +59,14 @@ ifeq ($(OFFICIAL),) endif RPMNVR = "$(NAME)-$(VERSION)-$(RPMRELEASE)$(RPMDIST)" +NOSETESTS := nosetests + ######################################################## all: clean python tests: - PYTHONPATH=./lib nosetests -d -v + PYTHONPATH=./lib $(NOSETESTS) -d -v # To force a rebuild of the docs run 'touch VERSION && make docs' docs: $(MANPAGES) modulepages