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

[perl #116961] Data::Dumper 2.143 tests failures on 5.10.1

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
February 28, 2013 00:59
Subject:
[perl #116961] Data::Dumper 2.143 tests failures on 5.10.1
Message ID:
rt-3.6.HEAD-31961-1362013176-1707.116961-15-0@perl.org
On Wed Feb 27 02:03:54 2013, dolmen wrote:
> Look like I did run the test with the system perl (5.12.4) instead of
> our custom-built 5.10.1. Anyway, the bug still applies.
> 
> Here is the result of the build with 5.10.1 (corresponding to the perl
> with which perlbug ran).
> 

I confirmed this comparing 5.14.0 and 5.16.0.  Here is the output on
each version of two representative tests:

$ /usr/local/bin/perl5.14.0  -Iblib/lib  t/bless.t
1..11
ok 1 - use Data::Dumper;
Undefined subroutine &Data::Dumper::Dumpxs called at
blib/lib/Data/Dumper.pm line 222.
# Looks like you planned 11 tests but ran 1.
# Looks like your test exited with 255 just after 1.

$ /usr/local/bin/perl5.14.0  -Iblib/lib  t/indent.t
1..10
ok 1 - absence of Indent is same as Indent()
ok 2 - absence of Indent is same as Indent(undef)
ok 3 - absence of Indent is different from Indent(0)
ok 4 - Indent(0) is different from Indent(1)
ok 5 - Indent(0) is more compact than Indent(1)
ok 6 - absence of Indent is same as Indent(2), i.e., 2 is default
ok 7 - Indent(1) is more compact than Indent(2)
ok 8 - On arrays, Indent(2) is different from Indent(3)
not ok 9 - Indent(3) annotates array elements with their indices
#   Failed test 'Indent(3) annotates array elements with their indices'
#   at t/indent.t line 96.
#                   '$VAR1 = [
#           #0
#           'foo',
#           #1
#           42
#         ];
# '
#     doesn't match '(?^s:\#0.+'foo'.+\#1.+'42')'
ok 10 - Indent(3) runs 2 lines longer than Indent(2)
# Looks like you failed 1 test of 10.

# 5.16.0 is my default perl

$ /usr/local/bin/perl5.16.0  -Iblib/lib  t/bless.t
1..11
ok 1 - use Data::Dumper;
ok 2 - package name in bless is escaped if needed
ok 3 - eval reverts dump
ok 4 - package name in bless is escaped if needed
ok 5 - eval reverts dump
ok 6 - We can dump blessed qr//'s properly
ok 7 - package name in bless is escaped if needed
ok 8 - eval reverts dump
ok 9 - package name in bless is escaped if needed
ok 10 - eval reverts dump
ok 11 - We can dump blessed qr//'s properly

$ /usr/local/bin/perl5.16.0  -Iblib/lib  t/indent.t
1..10
ok 1 - absence of Indent is same as Indent()
ok 2 - absence of Indent is same as Indent(undef)
ok 3 - absence of Indent is different from Indent(0)
ok 4 - Indent(0) is different from Indent(1)
ok 5 - Indent(0) is more compact than Indent(1)
ok 6 - absence of Indent is same as Indent(2), i.e., 2 is default
ok 7 - Indent(1) is more compact than Indent(2)
ok 8 - On arrays, Indent(2) is different from Indent(3)
ok 9 - Indent(3) annotates array elements with their indices
ok 10 - Indent(3) runs 2 lines longer than Indent(2)

I don't yet have a diagnosis.

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

Thread Previous | Thread Next


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