On Thu, Feb 28, 2002 at 07:23:43PM +0100, Tels wrote: > Anyway, it is not so easy to run your entire testsuite trough Devel::Cover. > Well, sort it is: > > PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -e 'use > Test::Harness qw(&runtests $switches $verbose); $switches="-w > - -MDevel::Cover"; $verbose=0; runtests @ARGV;' t/*.t
I normally go with: PERL5OPT='-MDevel::Cover' make test just don't try it on the Devel::Cover testsuite itself :-) > takes care of that. Only problem is that the cover_db is created locally to > each testfile, and that can be a problem if your testfiles chdir to > different dirs. Hopefully specifying -db,/full/path/to/db takes care of that. Yes, this information should be in the docs. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net