Python3 test target and use coverage for all v2 tests.
This commit is contained in:
parent
692d31d221
commit
617352a38e
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -86,16 +86,20 @@ MOCK_CFG ?=
|
||||||
|
|
||||||
NOSETESTS ?= nosetests
|
NOSETESTS ?= nosetests
|
||||||
|
|
||||||
|
NOSETESTS3 ?= nosetests-3.3
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
all: clean python
|
all: clean python
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
PYTHONPATH=./lib $(NOSETESTS) -d -w test/units -v
|
PYTHONPATH=./lib $(NOSETESTS) -d -w test/units -v # Could do: --with-coverage --cover-package=ansible
|
||||||
|
|
||||||
newtests:
|
newtests:
|
||||||
PYTHONPATH=./v2:./lib $(NOSETESTS) -d -w test/v2 -v
|
PYTHONPATH=./v2:./lib $(NOSETESTS) -d -w test/v2 -v --with-coverage --cover-package=ansible
|
||||||
|
|
||||||
|
newtests-py3:
|
||||||
|
PYTHONPATH=./v2:./lib $(NOSETESTS3) -d -w test/v2 -v --with-coverage --cover-package=ansible
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
sh hacking/authors.sh
|
sh hacking/authors.sh
|
||||||
|
|
Loading…
Reference in a new issue