develooper Front page | perl.perl5.porters | Postings from September 2010

Re: [ #61332] Test suite fails on perl5.12 due to newnumeric value warning

Ilya Zakharevich
September 16, 2010 00:18
Re: [ #61332] Test suite fails on perl5.12 due to newnumeric value warning
Message ID:
On Tue, Sep 14, 2010 at 02:42:09PM -0400, Phillip Moore via RT wrote:
> Tue Sep 14 14:42:09 2010: Request 61332 was acted upon.
> Transaction: Ticket created by WPMOORE
>        Queue: XSLoader
>      Subject: Test suite fails on perl5.12 due to new numeric value warning
>    Broken in: 0.10
>     Severity: Critical
>        Owner: Nobody
>   Requestors:
>       Status: new
>  Ticket <URL: >
> While rebuilding a number of CPAN modules for perl5.12.2, I discovered that XSLoader 0.10 fails 
> to pass it's test suite, with errors like:

And what version is shipped with Perl?  If >0.10, why do you test 0.10?

> Invalid version format (non-numeric data) at /efs/dist/perl5/core/5.12.2-1.001-
> build004/.exec/x86-64.rhel.5/lib/perl5/ line 223.

> The attached patch simply changes the non-numeric fake value "qunckkk" to "9999.9999", and 
> the resulting code passes all tests for both perl5.10.1 and 5.12.2, at least on CentOS (although 
> there's no reason to assume this won't work everywhere).

I do not think this is my code.  I have no idea what it is trying to
test, so do not know whether this "fix" is appropriate.

  CC to p5p...

Ilya Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About