Subject: | Devel::Cover-0.65 persistent test bug + fix |
Date: | Sat, 08 Aug 2009 07:18:55 -0500 |
To: | bug-Devel-Cover [...] rt.cpan.org |
From: | David Favor <david [...] davidfavor.com> |
This persistent problem has been reported for a long time:
http://rt.cpan.org/Public/Bug/Display.html?id=44905
http://rt.cpan.org/Public/Bug/Display.html?id=39558
http://rt.cpan.org/Public/Bug/Display.html?id=39249
http://rt.cpan.org/Public/Bug/Display.html?id=39127
Many of these bugs I opened 11 months ago.
For test cases to pass, the default 'make' target should
also do:
mkdir cover_db && perl -Ilib cover
else the following error may occur:
net2#./cover
Devel::Cover::DB version 0.65 required--this is only version 0.64 at ./cover line 17.
BEGIN failed--compilation aborted at ./cover line 17.
to create the test data required for 'make test', else all
tests fail with failure signatures like this:
t/abranch_return_sub.t .. 1/1 Cannot close /runtime/perl-5.10.1-maint-1737/bin/perl
-I/root/.cpanplus/5.10.1/build/Devel-Cover-0.65/
-I/root/.cpanplus/5.10.1/build/Devel-Cover-0.65/blib/lib
-I/root/.cpanplus/5.10.1/build/Devel-Cover-0.65/blib/arch
/root/.cpanplus/5.10.1/build/Devel-Cover-0.65/cover -coverage statement -coverage branch -coverage
condition -coverage subroutine -report text: at
/root/.cpanplus/5.10.1/build/Devel-Cover-0.65/blib/lib/Devel/Cover/Test.pm line 309.
END failed--call queue aborted.
t/abranch_return_sub.t .. Dubious, test returned 2 (wstat 512, 0x200)
--
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com/join for the easy way.