summaryrefslogtreecommitdiffstats
path: root/utils/Makefile
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2016-12-08 07:38:37 -0800
committerTim Bielawa <tbielawa@redhat.com>2016-12-08 07:38:37 -0800
commit7858f6724116f1846f23fa71962f13a278fcd576 (patch)
tree450ef53cbd9d4830967a8d44f1ddd5b669c81a87 /utils/Makefile
parent1deb6b06608e46f5c47bc127a148b89f6a12b63b (diff)
downloadopenshift-7858f6724116f1846f23fa71962f13a278fcd576.tar.gz
openshift-7858f6724116f1846f23fa71962f13a278fcd576.tar.bz2
openshift-7858f6724116f1846f23fa71962f13a278fcd576.tar.xz
openshift-7858f6724116f1846f23fa71962f13a278fcd576.zip
Fix coverage not appending new data
* Adds '--cover-erase' flag to the 'ci-unittests' target Fixes bug introduced in d7b4265f329591817bac381e2772ae14ac337cea: "Can't add arcs to existing line data" error message
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index edfead824..49c61e115 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -78,7 +78,7 @@ ci-unittests:
@echo "#############################################"
@echo "# Running Unit Tests in virtualenv"
@echo "#############################################"
- . $(NAME)env/bin/activate && python setup.py nosetests
+ . $(NAME)env/bin/activate && python setup.py nosetests --cover-erase
@echo "VIEW CODE COVERAGE REPORT WITH 'xdg-open cover/index.html' or run 'make viewcover'"
ci-pylint: