fix make tests to use the set of module from git checkout
If someone try to run the test suit with ansible already installed, the mix between content in /usr/share and in the git checkout can result in strange failure ( as I found out the hard way ). For example, the test_copy module will call the action plugin for copy from git, who will call the 'file' module from system, passing unsupported arguments
This commit is contained in:
parent
33242cacf3
commit
7a220e3b94
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -62,7 +62,7 @@ NOSETESTS := nosetests
|
||||||
all: clean python
|
all: clean python
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
PYTHONPATH=./lib $(NOSETESTS) -d -v
|
PYTHONPATH=./lib ANSIBLE_LIBRARY=./library $(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