Explorar o código

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
Tim Bielawa %!s(int64=8) %!d(string=hai) anos
pai
achega
7858f67241
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/Makefile

+ 1 - 1
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: