From 617352a38e93ea291a80d383079ea6e5cd93798e Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Sun, 12 Oct 2014 18:54:01 -0400 Subject: [PATCH] Python3 test target and use coverage for all v2 tests. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b659e044f8..b7c84a51fc 100644 --- a/Makefile +++ b/Makefile @@ -86,16 +86,20 @@ MOCK_CFG ?= NOSETESTS ?= nosetests +NOSETESTS3 ?= nosetests-3.3 + ######################################################## all: clean python 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: - 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: sh hacking/authors.sh