changeset 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 a170df39355f
children f719f5c0bd4e
files Makefile
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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