develooper Front page | perl.perl5.porters | Postings from February 2014

[perl #121287] In Module::CoreList 3.06, is_core is self-consistent test fails on 5.10.0

Thread Previous
From:
Tony Cook via RT
Date:
February 20, 2014 21:18
Subject:
[perl #121287] In Module::CoreList 3.06, is_core is self-consistent test fails on 5.10.0
Message ID:
rt-4.0.18-19376-1392931089-1716.121287-15-0@perl.org
On Thu Feb 20 07:05:00 2014, pghmcfc wrote:
> Test Summary Report
> -------------------
> t/is_core.t     (Wstat: 256 Tests: 34 Failed: 1)
>   Failed test:  2
>   Non-zero exit status: 1
> Files=6, Tests=85,  3 wallclock secs ( 0.03 usr  0.01 sys +  2.22 cusr
> 0.02 csys =  2.28 CPU)
> Result: FAIL
> Failed 1/6 test programs. 1/85 subtests failed.
> 
> 
> This appears to be due to is_core not being able to follow the delta
> tree back from 5.01, apparently due to trailing zeroes in $], which is
> 5.010000. The following patch works around the issue and doesn't seem
> to break any other perls I've tried:

There's a different fix for this in blead, committed as part of http://perl5.git.perl.org/perl.git/commit/baca455461522d62967cae39a044a49583cb6aae

@@ -10786,6 +10805,7 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
 $released{'5.000'} = $released{5};
 $version{'5.000'} = $version{5};
 
+_create_aliases(\%delta);
 _create_aliases(\%released);
 _create_aliases(\%version);
 _create_aliases(\%deprecated);

Does this change to lib/Module/CoreList.pm also fix it for you?

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=121287

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About