diff Makefile @ 886:203686df2c6d

Added a makefile target for coverage analysis of the unit tests (called coverage).
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Thu, 06 Jul 2006 20:39:35 +0200
parents f78e361cb786
children a2cb15c16cf4
line wrap: on
line diff
--- a/Makefile	Thu Jul 06 18:09:34 2006 +0200
+++ b/Makefile	Thu Jul 06 20:39:35 2006 +0200
@@ -78,6 +78,11 @@
 	@python tests/maketestwiki.py
 	@python tests/runtests.py
 
+coverage:
+	@python tests/maketestwiki.py
+	@python -u -m trace --count --coverdir=cover --missing tests/runtests.py
+
+
 clean: clean-testwiki clean-pyc
 	rm -rf build