Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 60449
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: christianc [...] sitesell.com
Cc:
AdminCc:

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



Subject: patches for Test::Harness 3.22
Date: Tue, 17 Aug 2010 22:38:55 -0400
To: bug-Test-Harness [...] rt.cpan.org
From: Christian Carey <christianc [...] sitesell.com>
Hello there, running “make test” against Test::Harness 3.22 for Perl 5.8.0 on Linux 2.4.21 results in a few tests failing, all dealing with the “extensions” attribute. I’ve found that the attached patches, one for lib/App/Prove.pm and one for t/prove.t, will stop the tests from failing. (The patches ensure that the “extensions” attribute is dealt with as an array reference.) If you have any questions or concerns regarding these patches, please feel free to contact me. Kind regards, Christian.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Some more information about this: This problem causes test failures on all versions of perl below 5.8.1. The reason is that Test::Harness now has an implicit dependency on Getopt::Long version 2.34. This version was first included in perl 5.8.1. So another solution is to make this dependency explicit.
I've just tested with Getopt::Long 2.33 on @INC and they pass. I haven't however verified that I can reproduce the problem using an older version of Test::Harness. Can you reopen this ticket if this is still a problem please? Thanks.