summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorElan Ruusamäe <glen@delfi.ee>2013-05-11 13:13:29 +0300
committerElan Ruusamäe <glen@delfi.ee>2013-05-11 13:16:04 +0300
commita0678771cdb76437e6efcc62088169a920c0d0a3 (patch)
tree2a7ba74bcea07c80b2bce94d86e583b3eb812a04 /Makefile
parent8ef18c2f9841375c73352f5abc39d499786dd046 (diff)
downloadansible-a0678771cdb76437e6efcc62088169a920c0d0a3.tar.gz
make path to nosetests executable configurable
this is to make use python2 when nosetests points to python3: make NOSETEST=nosetests-2.7 tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b433ec16f8..8f7ba9b39b 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