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