Explorar o código

Makefile:coverage2: Use the ``coverage`` module for coverage instead of
figleaf

Ask Solem %!s(int64=15) %!d(string=hai) anos
pai
achega
996cddfb93
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -17,6 +17,10 @@ coverage:
 	[ -d testproj/temp ] || mkdir -p testproj/temp
 	(cd testproj; python manage.py test --figleaf)
 
+coverage2:
+	[ -d testproj/temp ] || mkdir -p testproj/temp
+	(cd testproj; python manage.py test --coverage)
+
 test:
 	(cd testproj; python manage.py test)