Update of /cvsroot/popfile/engine
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2766
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/Makefile,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** Makefile 6 Feb 2006 15:09:54 -0000 1.44
--- Makefile 3 Dec 2007 09:18:35 -0000 1.45
***************
*** 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
|