diff options
author | Elan Ruusamäe <glen@delfi.ee> | 2013-05-11 13:13:29 +0300 |
---|---|---|
committer | Elan Ruusamäe <glen@delfi.ee> | 2013-05-11 13:16:04 +0300 |
commit | a0678771cdb76437e6efcc62088169a920c0d0a3 (patch) | |
tree | 2a7ba74bcea07c80b2bce94d86e583b3eb812a04 /Makefile | |
parent | 8ef18c2f9841375c73352f5abc39d499786dd046 (diff) | |
download | ansible-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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |