mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
make path to nosetests executable configurable
this is to make use python2 when nosetests points to python3: make NOSETEST=nosetests-2.7 tests
This commit is contained in:
parent
8ef18c2f98
commit
a0678771cd
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue