summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2016-09-22 16:35:18 -0400
committerMatt Clay <matt@mystile.com>2016-09-22 13:35:18 -0700
commit95dd8cc2c7e6a5e20bb96c4eef7565f09668ce4c (patch)
tree6360e3f8543b702246ee56857668acf667c13a57 /Makefile
parentbe1139317a37a34e067da0a7426b806f12921842 (diff)
downloadansible-95dd8cc2c7e6a5e20bb96c4eef7565f09668ce4c.tar.gz
Add '--cover-erase' to 'make tests' cli (#17708)
Otherwise the coverage is cumulative over multiple runs and can be misleading.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6744b07590..8628ea3537 100644
--- a/Makefile
+++ b/Makefile
@@ -100,10 +100,10 @@ NOSETESTS3 ?= nosetests-3.5
all: clean python
tests:
- PYTHONPATH=./lib $(NOSETESTS) -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches
+ PYTHONPATH=./lib $(NOSETESTS) -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches --cover-erase
tests-py3:
- PYTHONPATH=./lib $(NOSETESTS3) -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches
+ PYTHONPATH=./lib $(NOSETESTS3) -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches --cover-erase
integration:
test/utils/shippable/integration.sh