diff options
author | Adrian Likins <alikins@redhat.com> | 2016-09-22 16:35:18 -0400 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2016-09-22 13:35:18 -0700 |
commit | 95dd8cc2c7e6a5e20bb96c4eef7565f09668ce4c (patch) | |
tree | 6360e3f8543b702246ee56857668acf667c13a57 /Makefile | |
parent | be1139317a37a34e067da0a7426b806f12921842 (diff) | |
download | ansible-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |