Subject: | t/madness.t fails on Strawberry Perl Portable 5.10.1 |
Attempting a clean build of Data::Dump::Streamer on Strawberry Perl
Portable 5.10.1 fails in the t/madness.t and will not install via cpan.
Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Data-Dump-Streamer' version '2.18'
Building Data-Dump-Streamer
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-DPERL_MSVCRT
_READFIX -s -O2 "-DXS_VERSION=\"2.18\"" "-DVERSION=\"2.18\""
-I"C:\chm\strawberry\perl\lib\CORE" -I"C:\chm\strawberry\c\include" -o
"lib\Da
ta\Dump\Streamer.o" "lib\Data\Dump\Streamer.c"
ExtUtils::Mkbootstrap::Mkbootstrap('blib\arch\auto\Data\Dump\Streamer\Streamer.bs')
Generating script 'lib\Data\Dump\Streamer.lds'
dlltool --def "lib\Data\Dump\Streamer.def" --output-exp
"lib\Data\Dump\Streamer.exp"
g++.exe -o "blib\arch\auto\Data\Dump\Streamer\Streamer.dll"
-Wl,--base-file,"lib\Data\Dump\Streamer.base"
-Wl,--image-base,0x32190000 -mdll
-s -L"C:\chm\strawberry\perl\lib\CORE" -L"C:\chm\strawberry\c\lib"
"lib\Data\Dump\Streamer.lds" "lib\Data\Dump\Streamer.exp"
dlltool --def "lib\Data\Dump\Streamer.def" --output-exp
"lib\Data\Dump\Streamer.exp" --base-file "lib\Data\Dump\Streamer.base"
g++.exe -o "blib\arch\auto\Data\Dump\Streamer\Streamer.dll"
-Wl,--image-base,0x32190000 -mdll -s -L"C:\chm\strawberry\perl\lib\CORE"
-L"C:\
chm\strawberry\c\lib" "lib\Data\Dump\Streamer.lds"
"lib\Data\Dump\Streamer.exp"
t\as.t .............. ok
t\blessed.t ......... ok
t\dogpound.t ........ ok
t\dump.t ............ ok
t\filter.t .......... ok
t\globtest.t ........ ok
t\hardrefs.t ........ ok
t\impure_madness.t .. ok
#
# PadWalker 1.9 is installed
t\lexicals.t ........ ok
t\locked.t .......... ok
# Failed test ''
# at t\test_helper.pl line 114.
# Looks like you failed 1 test of 7.
t\madness.t .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
t\madness_w.t ....... ok
t\names.t ........... ok
t\overload.t ........ ok
t\readonly.t ........ ok
t\refaddr.t ......... ok
t\refcount.t ........ ok
t\refelem.t ......... ok
t\reftype.t ......... ok
t\sortkeys.t ........ ok
t\tree.t ............ ok
t\usage.t ........... ok
t\xs_subs.t ......... ok
Test Summary Report
-------------------
t\madness.t (Wstat: 256 Tests: 7 Failed: 1)
Failed test: 7
Non-zero exit status: 1
Files=23, Tests=362, 10 wallclock secs ( 0.31 usr + 0.05 sys = 0.36 CPU)
Result: FAIL
Failed 1/23 test programs. 1/362 subtests failed.
1..7
ok 1 - use Data::Dump::Streamer;
ok 2 - The object isa Data::Dump::Streamer
ok 3 - Madness cap( $qr,$qr )
ok 4 - Total Madness
ok 5 - More Madness
ok 6 - Tye Alias Array
not ok 7 -
# Failed test ''
# at t\test_helper.pl line 114.
-Expected
+Result
@27,27 (302)
= PVM => '',
- RV => \do { my $v = undef },
+ RV => \do { my $v = 0 },
= UND => undef
Got:
$HASH1 = {
AR => [
1,
2
],
CR => sub {
use warnings;
use strict 'refs';
'code';
},
FMT => \do{ local *F; my $F=<<'_EOF_FORMAT_'; $F=~s/^\s+#
//mg; eval $F; die $F.$@ if $@; *F{FORMAT};
# format F =
# @<<<<<<
@<E2><94><82><E2><94><82><E2><94><82><E2><94><82><E2><94><82><E2><94><82>
@>>>>>>
# 'left', 'middle', 'right'
# .
_EOF_FORMAT_
},
GLB => *::STDERR,
HR => { key => 'value' },
IO => bless( *{Symbol::gensym()}{IO}, 'IO::Handle' ),
IV => 1,
NV => 3.14159265358979,
OBJ => bless( qr/("[^"]+")/, 'Zorp' ),
PV => 'string',
PV8 => "ab\ncd\x{20ac}\t",
PVM => '',
RV => \do { my $v = 0 },
UND => undef
};
+---+
S 1 : 0x11bafbc(c 2| 1) Dp: 1 RW Du:1 => $HASH1
S 2 : 0x11baf9c(c 3| 1) Dp: 5 RW Du:1 => ${$HASH1->{FMT}} <
$HASH1->{FMT} >
S 3 : 0x11b47ac(c 2| 1) Dp: 5 RW Du:- => ${$HASH1->{OBJ}} <
$HASH1->{OBJ} >
S 4 : 0xf7944c(c 4| 1) Dp: 5 RW Du:1 => ${$HASH1->{RV}} < $HASH1->{RV} >
-----
R 1 : 0x111fd84(c 2|-1) Dp: 2 Du:1 => $HASH1
R 2 : 0x11cb874(c 1|-1) Dp: 4 Du:1 => $HASH1->{AR}
R 3 : 0x111ff44(c 1|-1) Dp: 4 Du:1 => $HASH1->{CR}
R 4 : 0x11baf9c(c 1|-1) Dp: 4 Du:1 => $HASH1->{FMT} <
${$HASH1->{FMT}} >
R 5 : 0x11b474c(c 1|-1) Dp: 4 Du:1 => $HASH1->{HR}
R 6 : 0x9c9c04(c 1|-1) Dp: 4 Du:1 => $HASH1->{IO}
R 7 : 0x11b47ac(c 1|-1) Dp: 4 Du:1 => $HASH1->{OBJ} <
${$HASH1->{OBJ}} >
R 8 : 0xf7944c(c 1|-1) Dp: 4 Du:1 => $HASH1->{RV} < ${$HASH1->{RV}} >
R 9 : 0x111fd34(c 3|-1) Dp: 6 Du:1 => ${$HASH1->{FMT}}
+---+
# Looks like you failed 1 test of 7.