From: Manni H. <man...@us...> - 2007-12-03 09:18:55
|
Update of /cvsroot/popfile/engine/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2766/tests Modified Files: Makefile Log Message: Add new make target 'cover' which will give you a coverage report provided by Devel::Cover Index: Makefile =================================================================== RCS file: /cvsroot/popfile/engine/tests/Makefile,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Makefile 20 Feb 2006 02:20:57 -0000 1.13 --- Makefile 3 Dec 2007 09:18:35 -0000 1.14 *************** *** 29,37 **** runtest: ! @rm -rf popfile.pid popfile.cfg ! @perl -I ../ $(DEBUGARGS) ../tests.pl $(TESTARGS) ifdef DEBUGARGS @perl ../coverage.pl endif @rm -rf corpus @rm -rf messages --- 29,39 ---- runtest: ! @perl -I ../ $(DEBUGARGS) $(COVERARGS) ../tests.pl $(TESTARGS) ifdef DEBUGARGS @perl ../coverage.pl endif + ifdef COVERARGS + cover -report html cover_db + endif @rm -rf corpus @rm -rf messages |