Update of /cvsroot/popfile/engine
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13604
Modified Files:
Tag: b0_22_2
Makefile
Log Message:
Add a new target for the Makefile: cover
This will use Devel::Cover to produce the coverage report which is a bit more helpful than our TestCoverage.
Fix a bug in the IMAP tests I would never have found without Devel::Cover.
Index: Makefile
===================================================================
RCS file: /cvsroot/popfile/engine/Makefile,v
retrieving revision 1.41.4.3
retrieving revision 1.41.4.4
diff -C2 -d -r1.41.4.3 -r1.41.4.4
*** Makefile 27 Nov 2007 07:54:36 -0000 1.41.4.3
--- Makefile 1 Dec 2007 18:02:19 -0000 1.41.4.4
***************
*** 14,17 ****
--- 14,18 ----
@echo
@echo "coverage - Run POPFile test suite with coverage information"
+ @echo "cover - Run POPFile test suite with coverage information provided by Devel::Cover"
@echo "test - Run POPFile test suite"
@echo "eachtest - Run POPFile tests one by one"
***************
*** 37,40 ****
--- 38,48 ----
@$(MAKE) --no-print-directory -C tests runtest TESTARGS=$(TESTARGS) DEBUGARGS=-d:TestCoverage
+ cover:
+ @echo Running test suite with code coverage by Devel::Cover
+ ifdef TESTARGS
+ @echo with arguments '$(TESTARGS)'
+ endif
+ @$(MAKE) --no-print-directory -C tests runtest TESTARGS=$(TESTARGS) COVERARGS=-MDevel::Cover=-db,cover_db,-coverage,statement,branch,condition,path,subroutine,-silent,ON,-summary,ON
+
test:
@echo Running test suite
|