Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 20316
Status: resolved
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

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



Subject: PATCH: internals of Test::Harness have changed
With perl-5.8.8 and the latest CPAN modules, the test.pl of Mail::Box fails - it is using a no longer present internal sub. The attached patch corrects the problem, by using a (hopefully) mostly public interface now. -Marek
Subject: Mail-Box.diff
diff -ruN Mail-Box-2.065/test.pl Mail-Box-2.065p1/test.pl --- Mail-Box-2.065/test.pl 2006-03-15 08:15:16.000000000 +0100 +++ Mail-Box-2.065p1/test.pl 2006-07-06 10:49:42.856566000 +0200 @@ -186,7 +186,7 @@ { my @files = @_; return 1 unless @files; - my ($tot, $failed) = Test::Harness::_run_all_tests(@files); + my ($tot, $failed) = Test::Harness::execute_tests(tests => \@files); Test::Harness::_all_ok($tot); }
I am glad that the method is now public, because I need it. However, I hope that once they will stop making incompatible changes to Test::Harness. Changes of version dependency in Makefile.PL is required as well, otherwise this patch would break close to everyone's installation...