Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 28531
Status: resolved
Priority: 0/
Queue: Devel-Cover

People
Owner: Nobody in particular
Requestors: seph [...] directionless.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Devel::Cover 0.61 fails it's tests with perl 5.8.8
Date: Sat, 28 Jul 2007 13:55:36 -0400
To: bug-devel-cover [...] rt.cpan.org
From: seph <seph [...] directionless.org>
Download (untitled) / with headers
text/plain 184b
I installed a clean perl 5.8.8, then started cpan'ing modules. When I got to Devel::Cover it failed its tests. I wasn't sure this was covered in the other bugs, so here's a report...

Message body is not shown because it is too large.

From: mjcarman [...] mchsi.com
Download (untitled) / with headers
text/plain 1.4k
The tests for v0.61 fail abysmally for me. I haven't looked at all the failures, but the vast majority (at least) are because extra information showing up on STDOUT due to my environment. e.g. # Test 1 got: +----+------------------------------------------------+----+--------------------------------+ | Elt|Got | Elt|Expected | +----+------------------------------------------------+----+--------------------------------+ * 0|Set up gcc environment - 3.4.2 (mingw-special) * | | | 1|Reading database from | 0|Reading database from | | 2| | 1| | | 3| | 2| | +----+------------------------------------------------+----+--------------------------------+ | 58|main 1 tests/skip:12 | 57|main 1 tests/skip:12 | | 59| | 58| | | 60| | 59| | | | * 60| * +----+------------------------------------------------+----+--------------------------------+ perl 5.8.8 (ActivePerl build 822) MinGW 5.1.3 dmake 4.8
Subject: Re: [rt.cpan.org #28531] Devel::Cover 0.61 fails it's tests with perl 5.8.8
Date: Mon, 17 Sep 2007 23:23:56 +0200
To: Michael Carman via RT <bug-Devel-Cover [...] rt.cpan.org>
From: Paul Johnson <paul [...] pjcj.net>
Download (untitled) / with headers
text/plain 1.6k
On Mon, Sep 17, 2007 at 03:44:32PM -0400, Michael Carman via RT wrote: Show quoted text
> > Queue: Devel-Cover > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=28531 > > > The tests for v0.61 fail abysmally for me. I haven't looked at all the > failures, but the vast majority (at least) are because extra information > showing up on STDOUT due to my environment. e.g. > > # Test 1 got: > +----+------------------------------------------------+----+--------------------------------+ > | Elt|Got | Elt|Expected > | > +----+------------------------------------------------+----+--------------------------------+ > * 0|Set up gcc environment - 3.4.2 (mingw-special) * | > |
Show quoted text
> perl 5.8.8 (ActivePerl build 822) > MinGW 5.1.3 > dmake 4.8
Thanks a lot for the report. I've checked in the following patch: === lib/Devel/Cover/Test.pm ================================================================== --- lib/Devel/Cover/Test.pm (revision 250) +++ lib/Devel/Cover/Test.pm (local) @@ -254,6 +254,7 @@ $_ = "" unless defined $_; print STDERR $_ if $debug; redo if /^Devel::Cover: merging run/; + redo if /^Set up gcc environment/; # for MinGW s/^(Reading database from ).*/$1/; s|(__ANON__\[) .* (/tests/ \w+ : \d+ \])|$1$2|x; s/(Subroutine) +(Location)/$1 $2/; But I have no way of testing it. Are you able to try the patch, or even pick up the latest development version from http://pjcj.sytes.net/svn/Devel-Cover/Devel-Cover/trunk/ and see whether that nails it? Thanks, -- Paul Johnson - paul@pjcj.net http://www.pjcj.net
Download (untitled) / with headers
text/plain 134b
Should be fixed in 0.62. Unfortunately I haven't been able to test it, and don't have any reports from anyone who might have done so.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.