develooper Front page | perl.perl5.porters | Postings from July 2001

Re: Testsuite Coverage analysis

Thread Previous
From:
Michael G Schwern
Date:
July 30, 2001 21:53
Subject:
Re: Testsuite Coverage analysis
Message ID:
20010731005325.M3208@blackrider
On Sun, Jul 29, 2001 at 02:28:21PM +0200, Tels wrote:
> Description, a pre-release (v1.04) and a coverage report over Perl 5.6.1
> are at http://bloodgate.com/perl/cover.html

Unfortunately, this has the same problems I ran into.  Lots and lots
of false negatives. :(  Two I see immediately are English and
Data::Dumper wrongly reported as being uncovered.

Try it with Devel::Cover.

A gold star for effort, though!


> I had problems running the Perl testsuite trough this, and for Perl v5.7.2
> or later it failed in many interesting ways (You can't run Perl 5.7.2
> testsuite with Perl 5.6.0, but if you run it with ./perl, you do not have
> Devel::Coverage, and even if you cheat and have it, it complains about
> missing DB stuff. And even if you all have this (by running the 5.6.1
> testsuite trough 5.6.1 with some tricks, the test files will gladly
> overwrite @INC, shift dirs etc, thus a lot of them fail. I wonder how
> Harness manages this all ;o)

Ummm... I forget how I pulled this off.  I think I just installed
Devel::Coverage and set PERL5LIB to see that install directory.


-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@perl.org>	     Kwalitee Is Job One
If you have to shoot, shoot!  Don't talk.
		-- Tuco, "The Good, The Bad And The Ugly"

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About