Commit a0678771 by Elan Ruusamäe

make path to nosetests executable configurable

this is to make use python2 when nosetests points to python3:

make NOSETEST=nosetests-2.7 tests
parent 8ef18c2f
...@@ -59,12 +59,14 @@ ifeq ($(OFFICIAL),) ...@@ -59,12 +59,14 @@ ifeq ($(OFFICIAL),)
endif endif
RPMNVR = "$(NAME)-$(VERSION)-$(RPMRELEASE)$(RPMDIST)" RPMNVR = "$(NAME)-$(VERSION)-$(RPMRELEASE)$(RPMDIST)"
NOSETESTS := nosetests
######################################################## ########################################################
all: clean python all: clean python
tests: tests:
PYTHONPATH=./lib nosetests -d -v PYTHONPATH=./lib $(NOSETESTS) -d -v
# To force a rebuild of the docs run 'touch VERSION && make docs' # To force a rebuild of the docs run 'touch VERSION && make docs'
docs: $(MANPAGES) modulepages docs: $(MANPAGES) modulepages
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment