Setting PATH to /opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin
Start 2011-01-06T08:04:13
ActivePerl-818 CPAN-1.9402
Going to read '/export/home/fly818/var/cpan/Metadata'
Database was generated on Wed, 05 Jan 2011 22:37:58 GMT
Running make for D/DO/DOY/Package-Stash-0.21.tar.gz
Checksum for /net/nas/data/cpan/authors/id/D/DO/DOY/Package-Stash-0.21.tar.gz ok
Will not use Archive::Tar, need 1.00
Package-Stash-0.21
Package-Stash-0.21/README
Package-Stash-0.21/Changes
Package-Stash-0.21/LICENSE
Package-Stash-0.21/dist.ini
Package-Stash-0.21/META.yml
Package-Stash-0.21/MANIFEST
Package-Stash-0.21/t
Package-Stash-0.21/t/03-io.t
Package-Stash-0.21/META.json
Package-Stash-0.21/weaver.ini
Package-Stash-0.21/t/05-isa.t
Package-Stash-0.21/t/04-get.t
Package-Stash-0.21/Makefile.PL
Package-Stash-0.21/t/01-basic.t
Package-Stash-0.21/t/20-leaks.t
Package-Stash-0.21/t/06-addsub.t
Package-Stash-0.21/t/00-compile.t
Package-Stash-0.21/t/10-synopsis.t
Package-Stash-0.21/t/release-eol.t
Package-Stash-0.21/t/02-extension.t
Package-Stash-0.21/t/07-edge-cases.t
Package-Stash-0.21/t/21-leaks-debug.t
Package-Stash-0.21/t/release-no-tabs.t
Package-Stash-0.21/lib/Package
Package-Stash-0.21/lib/Package/Stash.pm
Package-Stash-0.21/inc
Package-Stash-0.21/inc/MMPackageStash.pm
Package-Stash-0.21/t/lib/Package
Package-Stash-0.21/t/lib/Package/Stash.pm
Package-Stash-0.21/t/release-pod-syntax.t
Package-Stash-0.21/lib/Package/Stash
Package-Stash-0.21/lib/Package/Stash/PP.pm
Package-Stash-0.21/t/release-pod-coverage.t
Package-Stash-0.21/t/impl-selection
Package-Stash-0.21/t/impl-selection/02-env.t
Package-Stash-0.21/t/impl-selection/03-var.t
Package-Stash-0.21/bin
Package-Stash-0.21/bin/package-stash-conflicts
Package-Stash-0.21/t/impl-selection/01-choice.t
Package-Stash-0.21/t/impl-selection/11-basic-xs.t
Package-Stash-0.21/t/impl-selection/10-basic-pp.t
Package-Stash-0.21/lib/Package/Stash/Conflicts.pm
CPAN.pm: Going to build D/DO/DOY/Package-Stash-0.21.tar.gz
>>> /export/home/fly818/bin/perl Makefile.PL
***
Conflicts detected for Package::Stash:
Class::MOP is version 1, but must be greater than version 1.08
MooseX::Role::WithOverloading is version 0.08, but must be greater than version 0.08
***
Warning: prerequisite Package::Stash::XS 0.18 not found. We have 0.17.
Checking if your kit is complete...
Looks good
Writing Makefile for Package::Stash
---- Unsatisfied dependencies detected during ----
---- DOY/Package-Stash-0.21.tar.gz ----
Package::Stash::XS [requires]
Running make test
Delayed until after prerequisites
Running test for module 'Package::Stash::XS'
Running make for D/DO/DOY/Package-Stash-XS-0.18.tar.gz
Checksum for /net/nas/data/cpan/authors/id/D/DO/DOY/Package-Stash-XS-0.18.tar.gz ok
Will not use Archive::Tar, need 1.00
Package-Stash-XS-0.18
Package-Stash-XS-0.18/XS.xs
Package-Stash-XS-0.18/README
Package-Stash-XS-0.18/typemap
Package-Stash-XS-0.18/Changes
Package-Stash-XS-0.18/LICENSE
Package-Stash-XS-0.18/dist.ini
Package-Stash-XS-0.18/ppport.h
Package-Stash-XS-0.18/META.yml
Package-Stash-XS-0.18/MANIFEST
Package-Stash-XS-0.18/t
Package-Stash-XS-0.18/t/03-io.t
Package-Stash-XS-0.18/META.json
Package-Stash-XS-0.18/weaver.ini
Package-Stash-XS-0.18/t/05-isa.t
Package-Stash-XS-0.18/t/04-get.t
Package-Stash-XS-0.18/Makefile.PL
Package-Stash-XS-0.18/t/01-basic.t
Package-Stash-XS-0.18/t/20-leaks.t
Package-Stash-XS-0.18/t/06-addsub.t
Package-Stash-XS-0.18/t/00-compile.t
Package-Stash-XS-0.18/t/10-synopsis.t
Package-Stash-XS-0.18/t/release-eol.t
Package-Stash-XS-0.18/t/02-extension.t
Package-Stash-XS-0.18/t/07-edge-cases.t
Package-Stash-XS-0.18/t/21-leaks-debug.t
Package-Stash-XS-0.18/t/release-no-tabs.t
Package-Stash-XS-0.18/t/lib/Package
Package-Stash-XS-0.18/t/lib/Package/Stash.pm
Package-Stash-XS-0.18/t/release-pod-syntax.t
Package-Stash-XS-0.18/lib/Package/Stash
Package-Stash-XS-0.18/lib/Package/Stash/XS.pm
Package-Stash-XS-0.18/t/release-pod-coverage.t
CPAN.pm: Going to build D/DO/DOY/Package-Stash-XS-0.18.tar.gz
>>> /export/home/fly818/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Package::Stash::XS
>>> make
cp lib/Package/Stash/XS.pm blib/lib/Package/Stash/XS.pm
/export/home/fly818/bin/perl /export/home/fly818/var/megalib/ExtUtils/xsubpp -typemap /export/home/fly818/ap818/lib/ExtUtils/typemap -typemap typemap XS.xs > XS.xsc && mv XS.xsc XS.c
cc -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -KPIC "-I/export/home/fly818/ap818/lib/CORE" XS.c
Running Mkbootstrap for Package::Stash::XS ()
chmod 644 XS.bs
rm -f blib/arch/auto/Package/Stash/XS/XS.so
cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/WS6U2/lib XS.o -o blib/arch/auto/Package/Stash/XS/XS.so \
\
chmod 755 blib/arch/auto/Package/Stash/XS/XS.so
cp XS.bs blib/arch/auto/Package/Stash/XS/XS.bs
chmod 644 blib/arch/auto/Package/Stash/XS/XS.bs
Manifying blib/man3/Package::Stash::XS.3
DOY/Package-Stash-XS-0.18.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /export/home/fly818/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ............
1..1
ok 1 - Package::Stash::XS loaded ok
ok
t/01-basic.t ..............
ok 1 - ... can't call name() as a class method
ok 2 - ... the %foo slot has not been created yet
ok 3 - ... the object agrees
ok 4 - ... checking doesn' vivify
ok 5 - ... created %Foo::foo successfully
ok 6 - ... SCALAR shouldnt have been created too
ok 7 - ... ARRAY shouldnt have been created too
ok 8 - ... CODE shouldnt have been created too
ok 9 - ... the %foo slot was created successfully
ok 10 - ... the meta agrees
ok 11 - ... our %foo was initialized correctly
ok 12 - ... our %foo was initialized correctly
ok 13 - ... got the right package variable back
ok 14 - ... our %foo is the same as the metas
ok 15 - ... our %foo was updated correctly
ok 16 - ... our %foo was updated correctly
ok 17 - ... the @bar slot has not been created yet
ok 18 - ... created @Foo::bar successfully
ok 19 - ... the @bar slot was created successfully
ok 20 - ... the meta agrees
ok 21 - ... SCALAR shouldnt have been created too
ok 22 - ... HASH shouldnt have been created too
ok 23 - ... CODE shouldnt have been created too
ok 24 - ... our @bar was initialized correctly
ok 25 - ... our @bar was initialized correctly
ok 26 - ... the $baz slot has not been created yet
ok 27 - ... created $Foo::baz successfully
ok 28 - ... the $baz slot was created successfully
ok 29 - ... the meta agrees
ok 30 - ... ARRAY shouldnt have been created too
ok 31 - ... HASH shouldnt have been created too
ok 32 - ... CODE shouldnt have been created too
ok 33 - ... got the right value back
ok 34 - ... our $baz was assigned to correctly
ok 35 - ... the meta agrees
ok 36 - ... the &funk slot has not been created yet
ok 37 - ... created &Foo::funk successfully
ok 38 - ... the &funk slot was created successfully
ok 39 - ... the meta agrees
ok 40 - ... SCALAR shouldnt have been created too
ok 41 - ... ARRAY shouldnt have been created too
ok 42 - ... HASH shouldnt have been created too
ok 43 - ... our &funk exists
ok 44 - ... got the right value from the function
ok 45 - ... created @Foo::foo successfully
ok 46 - ... the @foo slot was added successfully
ok 47 - ... got the right values for @Foo::foo
ok 48 - ... created &Foo::foo successfully
ok 49 - ... the meta agrees
ok 50 - ... got the right value for &Foo::foo
ok 51 - ... created $Foo::foo successfully
ok 52 - ... the meta agrees
ok 53 - ... got the right scalar value back
ok 54 - ... got the right value from the scalar
ok 55 - ... removed %Foo::foo successfully
ok 56 - ... the %foo slot was removed successfully
ok 57 - ... the @foo slot still exists
ok 58 - ... the &foo slot still exists
ok 59 - ... the $foo slot still exists
ok 60 - ... got the right values for @Foo::foo
ok 61 - ... got the right value for &Foo::foo
ok 62 - ... got the right value for $Foo::foo
ok 63 - ... the %foo slot has been removed successfully
ok 64 - ... the @foo slot has NOT been removed
ok 65 - ... the &foo slot has NOT been removed
ok 66 - ... the $foo slot has NOT been removed
ok 67 - ... removed &Foo::foo successfully
ok 68 - ... the &foo slot no longer exists
ok 69 - ... the @foo slot still exists
ok 70 - ... the $foo slot still exists
ok 71 - ... got the right values for @Foo::foo
ok 72 - ... got the right value for $Foo::foo
ok 73 - ... the %foo slot has been removed successfully
ok 74 - ... the &foo slot has now been removed
ok 75 - ... the @foo slot has NOT been removed
ok 76 - ... the $foo slot has NOT been removed
ok 77 - ... removed $Foo::foo successfully
ok 78 - ... the $foo slot no longer exists
ok 79 - ... the @foo slot still exists
ok 80 - ... got the right values for @Foo::foo
ok 81 - ... the %foo slot has been removed successfully
ok 82 - ... the &foo slot has now been removed
ok 83 - ... the $foo slot has now been removed
ok 84 - ... the @foo slot has NOT been removed
ok 85 - ... the fetched symbols are the same as the listed ones
ok 86 - ... the fetched symbols are the same as the listed ones
ok 87 - ... got the right symbol
ok 88 - ... got the right symbol
ok 89 - ... the fetched symbols are the same as the listed ones
ok 90 - ... got the right symbol
ok 91 - got the right ones
ok 92 - can't initialize a slot with the wrong type of value
ok 93 - can't initialize a slot with the wrong type of value
ok 94 - can't initialize a slot with the wrong type of value
ok 95 - can't initialize a slot with the wrong type of value
ok 96 - got $foo
ok 97 - got @foo
ok 98 - got %foo
ok 99 - got &foo
ok 100 - got foo
ok 101 - got expected value for $foo
ok 102 - got expected value for %foo
ok 103 - got expected value for &foo
ok 104 - got expected value for @foo
ok 105 - got expected value for foo
ok 106 - got expected value for $foo
ok 107 - got expected value for %bar
ok 108 - got expected value for %foo
ok 109 - got expected value for &foo
ok 110 - got expected value for @foo
ok 111 - got expected value for foo
ok 112 - got expected value for $foo
ok 113 - got expected value for %bar
ok 114 - got expected value for %foo
ok 115 - got expected value for &foo
ok 116 - got expected value for @foo
ok 117 - got expected value for foo
ok 118 - list_all_symbols
not ok 119 - list_all_symbols SCALAR # TODO undef scalars aren't visible on 5.8, or from pure perl at all
# Failed (TODO) test 'list_all_symbols SCALAR'
# at t/01-basic.t line 397.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'foo'
ok 120 - list_all_symbols ARRAY
ok 121 - list_all_symbols HASH
ok 122 - list_all_symbols CODE
1..122
ok
t/02-extension.t ..........
ok 1 - The object isa My::Package::Stash
ok 2 - The object isa Package::Stash
ok 3 - ... the %foo slot has not been created yet
ok 4 - ... the foo_stash agrees
ok 5 - ... the %foo symbol is created succcessfully
ok 6 - ... the %foo slot has not been created in the actual Foo package
ok 7 - ... the foo_stash agrees
ok 8 - ... got the right package variable back
ok 9 - ... our %foo is the same as the foo_stashs
ok 10 - ... the @bar slot has not been created yet
ok 11 - ... created @Foo::bar successfully
ok 12 - ... the @bar slot has still not been created
ok 13 - ... the %baz slot has not been created yet
ok 14 - ... created %Foo::baz successfully
ok 15 - ... the %baz slot has still not been created
1..15
ok
t/03-io.t .................
ok 1 - has &foo
ok 2 - has foo
ok 3 - has &foo
ok 4 - has foo
ok 5 - has &bar
ok 6 - has bar
ok 7 - has &bar
ok 8 - has bar
ok 9 - can add an IO symbol
ok 10 - has baz
ok 11 - got the right baz
1..11
ok
t/04-get.t ................
ok 1 - got nothing yet
ok 2 - got something
ok 3 - got the right variable
ok 4 - stash has the right variable
ok 5 - got nothing yet
ok 6 - got something
ok 7 - got the right variable
ok 8 - stash has the right variable
ok 9 - got nothing yet
ok 10 - got something
ok 11 - got the right variable
ok 12 - stash has the right variable
ok 13 - got nothing yet
ok 14 - got something
ok 15 - got the right variable
ok 16 - got the right variable
ok 17 - got the right variable
ok 18 - stash has the right variable
ok 19 - got nothing yet
ok 20 - The object isa IO
ok 21 - got the right variable
ok 22 - The object isa IO
ok 23 - stash has the right variable
ok 24 - The object isa IO
ok 25 - got the right variable
ok 26 - got something
ok 27 - got the right variable
ok 28 - stash has the right variable
ok 29 - got something
ok 30 - got the right variable
ok 31 - stash has the right variable
ok 32 - got something
ok 33 - got the right variable
ok 34 - stash has the right variable
ok 35 - The object isa IO
ok 36 - stash has the right variable
1..36
ok
t/05-isa.t ................
ok 1 - The class isa Bar
1..1
ok
t/06-addsub.t .............
ok 1 - ... the &funk slot has not been created yet
ok 2 - ... created &Foo::funk successfully
ok 3 - ... the &funk slot was created successfully
ok 4 - ... our &funk exists
ok 5 - ... got the right value from the function
ok 6
ok 7
1..7
ok
t/07-edge-cases.t .........
not ok 1 - $SCALAR # TODO undef scalars aren't visible on 5.8, or from pure perl at all
# Failed (TODO) test '$SCALAR'
# at t/07-edge-cases.t line 31.
ok 2 - $SCALAR_WITH_VALUE
ok 3 - @ARRAY
ok 4 - %HASH
ok 5 - can see all code symbols
ok 6 - $added
ok 7 - @added
ok 8 - %added
ok 9 - expanded a constant into a coderef
ok 10 - nothing yet
ok 11 - got an empty scalar
1..11
ok
t/10-synopsis.t ...........
ok 1 - set in the stash properly
ok 2 - doesn't have anything in scalar slot
ok 3 - namespace works properly
1..3
ok
t/20-leaks.t ..............
ok 1 - object construction doesn't leak (leaks 0 <= 0)
ok 2 - object construction doesn't leak, with an existing package (leaks 0 <= 0)
ok 3 - object construction doesn't leak, with an existing package with things in it (leaks 0 <= 0)
ok 4 - accessors don't leak (leaks 0 <= 0)
ok 5 - add_symbol doesn't leak (leaks 0 <= 0)
ok 6 - add_symbol doesn't leak (leaks 0 <= 0)
ok 7 - sub installed correctly
ok 8 - code_init exists
ok 9 - remove_symbol doesn't leak (leaks 0 <= 0)
ok 10 - remove_glob doesn't leak (leaks 0 <= 0)
ok 11 - has_symbol doesn't leak (leaks 0 <= 0)
ok 12 - get_symbol doesn't leak (leaks 0 <= 0)
ok 13
ok 14
ok 15 - get_or_add_symbol doesn't leak (leaks 0 <= 0)
not ok 16 # TODO undef scalars aren't visible on 5.8, or from pure perl at all
# Failed (TODO) test at t/20-leaks.t line 133.
ok 17
ok 18
ok 19
ok 20
ok 21 - The class isa Exporter
ok 22 - list_all_symbols doesn't leak (leaks 0 <= 0)
ok 23 - get_all_symbols doesn't leak (leaks 0 <= 0)
not ok 24 - get_symbol doesn't leak during glob expansion (leaks 4 <= 0) # TODO deleting stashes is inherently leaky on 5.8
# Failed (TODO) test 'get_symbol doesn't leak during glob expansion (leaks 4 <= 0)'
# at t/20-leaks.t line 180.
# '4'
# <=
# '0'
# leaked GLOB(0x149efc) from t/20-leaks.t line 178.
# 177: my $quux = Package::Stash->new("Quux$i");
# 178: $quux->get_or_add_symbol('@ISA');
# 179: delete $::{'Quux' . $i . '::'};
# SV = PVGV(0x167070) at 0x149efc
# REFCNT = 1
# FLAGS = (GMG,SMG,MULTI)
# IV = 0
# NV = 0
# MAGIC = 0x31d860
# MG_VIRTUAL = &PL_vtbl_glob
# MG_TYPE = PERL_MAGIC_glob(*)
# MG_OBJ = 0x149efc
# NAME = "ISA"
# NAMELEN = 3
# GvSTASH = 0x30a7ac "Quux4"
# GP = 0x316550
# SV = 0x30a7b8
# REFCNT = 1
# IO = 0x0
# FORM = 0x0
# AV = 0x30a8e4
# HV = 0x0
# CV = 0x0
# CVGEN = 0x0
# GPFLAGS = 0x0
# LINE = 178
# FILE = "t/20-leaks.t"
# FLAGS = 0x2
# EGV = 0x149efc "ISA"
# leaked ARRAY(0x30a8e4) from t/20-leaks.t line 178.
# 177: my $quux = Package::Stash->new("Quux$i");
# 178: $quux->get_or_add_symbol('@ISA');
# 179: delete $::{'Quux' . $i . '::'};
# SV = PVAV(0x3101f0) at 0x30a8e4
# REFCNT = 1
# FLAGS = (SMG,RMG)
# IV = 0
# NV = 0
# MAGIC = 0x31d880
# MG_VIRTUAL = &PL_vtbl_isa
# MG_TYPE = PERL_MAGIC_isa(I)
# MG_OBJ = 0x149efc
# ARRAY = 0x0
# FILL = -1
# MAX = -1
# ARYLEN = 0x0
# FLAGS = (REAL)
# leaked SCALAR(0x30a7b8) from t/20-leaks.t line 178.
# 177: my $quux = Package::Stash->new("Quux$i");
# 178: $quux->get_or_add_symbol('@ISA');
# 179: delete $::{'Quux' . $i . '::'};
# SV = NULL(0x0) at 0x30a7b8
# REFCNT = 1
# FLAGS = ()
# leaked HASH(0x30a7ac) from t/20-leaks.t line 176.
# 175: $i++;
# 176: eval "package Quux$i; 1;";
# 177: my $quux = Package::Stash->new("Quux$i");
# SV = PVHV(0x322098) at 0x30a7ac
# REFCNT = 1
# FLAGS = (SHAREKEYS)
# IV = 1
# NV = 0
# ARRAY = 0x317dc0 (0:7, 1:1)
# hash quality = 100.0%
# KEYS = 1
# FILL = 1
# MAX = 7
# RITER = -1
# EITER = 0x0
# NAME = "Quux4"
# Elt "ISA" HASH = 0x9c7b94db
# SV = PVGV(0x167070) at 0x149efc
# REFCNT = 1
# FLAGS = (GMG,SMG,MULTI)
# IV = 0
# NV = 0
# MAGIC = 0x31d860
# MG_VIRTUAL = &PL_vtbl_glob
# MG_TYPE = PERL_MAGIC_glob(*)
# MG_OBJ = 0x149efc
# NAME = "ISA"
# NAMELEN = 3
# GvSTASH = 0x30a7ac "Quux4"
# GP = 0x316550
# SV = 0x30a7b8
# REFCNT = 1
# IO = 0x0
# FORM = 0x0
# AV = 0x30a8e4
# HV = 0x0
# CV = 0x0
# CVGEN = 0x0
# GPFLAGS = 0x0
# LINE = 178
# FILE = "t/20-leaks.t"
# FLAGS = 0x2
# EGV = 0x149efc "ISA"
ok 25 - doesn't leak on errors (leaks 0 <= 0)
1..25
ok
t/21-leaks-debug.t ........
ok 1 - object construction doesn't leak (leaks 0 <= 0)
ok 2 - object construction doesn't leak, with an existing package (leaks 0 <= 0)
ok 3 - object construction doesn't leak, with an existing package with things in it (leaks 0 <= 0)
ok 4 - accessors don't leak (leaks 0 <= 0)
ok 5 - add_symbol doesn't leak (leaks 0 <= 0)
ok 6 - add_symbol doesn't leak (leaks 0 <= 0)
ok 7 - sub installed correctly
ok 8 - code_init exists
ok 9 - remove_symbol doesn't leak (leaks 0 <= 0)
ok 10 - remove_glob doesn't leak (leaks 0 <= 0)
ok 11 - has_symbol doesn't leak (leaks 0 <= 0)
ok 12 - get_symbol doesn't leak (leaks 0 <= 0)
ok 13
ok 14
ok 15 - get_or_add_symbol doesn't leak (leaks 0 <= 0)
not ok 16 # TODO undef scalars aren't visible on 5.8, or from pure perl at all
# Failed (TODO) test at t/21-leaks-debug.t line 135.
ok 17
ok 18
ok 19
ok 20
ok 21 - The class isa Exporter
ok 22 - list_all_symbols doesn't leak (leaks 0 <= 0)
ok 23 - get_all_symbols doesn't leak (leaks 0 <= 0)
not ok 24 - get_symbol doesn't leak during glob expansion (leaks 4 <= 0) # TODO deleting stashes is inherently leaky on 5.8
# Failed (TODO) test 'get_symbol doesn't leak during glob expansion (leaks 4 <= 0)'
# at t/21-leaks-debug.t line 182.
# '4'
# <=
# '0'
# leaked ARRAY(0x3201bc) from t/21-leaks-debug.t line 180.
# 179: my $quux = Package::Stash->new("Quux$i");
# 180: $quux->get_or_add_symbol('@ISA');
# 181: delete $::{'Quux' . $i . '::'};
# SV = PVAV(0x316918) at 0x3201bc
# REFCNT = 1
# FLAGS = (SMG,RMG)
# IV = 0
# NV = 0
# MAGIC = 0x323728
# MG_VIRTUAL = &PL_vtbl_isa
# MG_TYPE = PERL_MAGIC_isa(I)
# MG_OBJ = 0x31fed4
# ARRAY = 0x0
# FILL = -1
# MAX = -1
# ARYLEN = 0x0
# FLAGS = (REAL)
# leaked SCALAR(0x320168) from t/21-leaks-debug.t line 180.
# 179: my $quux = Package::Stash->new("Quux$i");
# 180: $quux->get_or_add_symbol('@ISA');
# 181: delete $::{'Quux' . $i . '::'};
# SV = NULL(0x0) at 0x320168
# REFCNT = 1
# FLAGS = ()
# leaked HASH(0x31ff10) from t/21-leaks-debug.t line 178.
# 177: $i++;
# 178: eval "package Quux$i; 1;";
# 179: my $quux = Package::Stash->new("Quux$i");
# SV = PVHV(0x323988) at 0x31ff10
# REFCNT = 1
# FLAGS = (SHAREKEYS)
# IV = 1
# NV = 0
# ARRAY = 0x31d648 (0:7, 1:1)
# hash quality = 100.0%
# KEYS = 1
# FILL = 1
# MAX = 7
# RITER = -1
# EITER = 0x0
# NAME = "Quux4"
# Elt "ISA" HASH = 0x9c7b94db
# SV = PVGV(0x166c80) at 0x31fed4
# REFCNT = 1
# FLAGS = (GMG,SMG,MULTI)
# IV = 0
# NV = 0
# MAGIC = 0x323708
# MG_VIRTUAL = &PL_vtbl_glob
# MG_TYPE = PERL_MAGIC_glob(*)
# MG_OBJ = 0x31fed4
# NAME = "ISA"
# NAMELEN = 3
# GvSTASH = 0x31ff10 "Quux4"
# GP = 0x163d28
# SV = 0x320168
# REFCNT = 1
# IO = 0x0
# FORM = 0x0
# AV = 0x3201bc
# HV = 0x0
# CV = 0x0
# CVGEN = 0x0
# GPFLAGS = 0x0
# LINE = 180
# FILE = "t/21-leaks-debug.t"
# FLAGS = 0x2
# EGV = 0x31fed4 "ISA"
# leaked GLOB(0x31fed4) from t/21-leaks-debug.t line 180.
# 179: my $quux = Package::Stash->new("Quux$i");
# 180: $quux->get_or_add_symbol('@ISA');
# 181: delete $::{'Quux' . $i . '::'};
# SV = PVGV(0x166c80) at 0x31fed4
# REFCNT = 1
# FLAGS = (GMG,SMG,MULTI)
# IV = 0
# NV = 0
# MAGIC = 0x323708
# MG_VIRTUAL = &PL_vtbl_glob
# MG_TYPE = PERL_MAGIC_glob(*)
# MG_OBJ = 0x31fed4
# NAME = "ISA"
# NAMELEN = 3
# GvSTASH = 0x31ff10 "Quux4"
# GP = 0x163d28
# SV = 0x320168
# REFCNT = 1
# IO = 0x0
# FORM = 0x0
# AV = 0x3201bc
# HV = 0x0
# CV = 0x0
# CVGEN = 0x0
# GPFLAGS = 0x0
# LINE = 180
# FILE = "t/21-leaks-debug.t"
# FLAGS = 0x2
# EGV = 0x31fed4 "ISA"
ok 25 - doesn't leak on errors (leaks 0 <= 0)
1..25
ok
t/release-eol.t ........... skipped: these tests are for release candidate testing
t/release-no-tabs.t ....... skipped: these tests are for release candidate testing
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
All tests successful.
Files=15, Tests=257, 2 wallclock secs ( 0.36 usr 0.14 sys + 1.95 cusr 0.35 csys = 2.80 CPU)
Result: PASS
DOY/Package-Stash-XS-0.18.tar.gz
make test TEST_VERBOSE=1 -- OK
Jesse Luehrs <doy@cpan.org>
faster and more correct implementation of the Package::Stash API
>>> (cd /export/home/fly818/var/cpan/build/Package-Stash-XS-0.18-7a_XzY && tar cvf - Package-Stash-XS-0.18.ppd blib) | gzip -c >/export/home/fly818/var/REPO/D/DO/DOY/Package-Stash-XS-0.18.tar.gz
Package-Stash-XS-0.18.ppd
blib/
blib/lib/
blib/lib/Package/
blib/lib/Package/Stash/
blib/lib/Package/Stash/XS.pm
blib/arch/
blib/arch/auto/
blib/arch/auto/Package/
blib/arch/auto/Package/Stash/
blib/arch/auto/Package/Stash/XS/
blib/arch/auto/Package/Stash/XS/XS.so
blib/arch/auto/Package/Stash/XS/XS.bs
blib/man3/
blib/man3/Package::Stash::XS.3
>>> mv /export/home/fly818/var/cpan/build/Package-Stash-XS-0.18-7a_XzY/Package-Stash-XS-0.18.ppd /export/home/fly818/var/REPO/D/DO/DOY
Running make for D/DO/DOY/Package-Stash-0.21.tar.gz
Prepending /export/home/fly818/var/cpan/build/Package-Stash-XS-0.18-7a_XzY/blib/arch /export/home/fly818/var/cpan/build/Package-Stash-XS-0.18-7a_XzY/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory /export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X
Prepending /export/home/fly818/var/cpan/build/Package-Stash-XS-0.18-7a_XzY/blib/arch /export/home/fly818/var/cpan/build/Package-Stash-XS-0.18-7a_XzY/blib/lib to PERL5LIB for 'make'
CPAN.pm: Going to build D/DO/DOY/Package-Stash-0.21.tar.gz
>>> make
cp lib/Package/Stash/PP.pm blib/lib/Package/Stash/PP.pm
cp lib/Package/Stash/Conflicts.pm blib/lib/Package/Stash/Conflicts.pm
cp lib/Package/Stash.pm blib/lib/Package/Stash.pm
cp bin/package-stash-conflicts blib/script/package-stash-conflicts
/export/home/fly818/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/package-stash-conflicts
Manifying blib/man3/Package::Stash::PP.3
Manifying blib/man3/Package::Stash.3
DOY/Package-Stash-0.21.tar.gz
make -- OK
Prepending /export/home/fly818/var/cpan/build/Package-Stash-XS-0.18-7a_XzY/blib/arch /export/home/fly818/var/cpan/build/Package-Stash-XS-0.18-7a_XzY/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /export/home/fly818/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/impl-selection/*.t
t/00-compile.t ..................
1..4
ok 1 - Package::Stash loaded ok
ok 2 - Package::Stash::Conflicts loaded ok
ok 3 - Package::Stash::PP loaded ok
ok 4 - package-stash-conflicts script compiles
ok
t/01-basic.t ....................
ok 1 - ... can't call name() as a class method
ok 2 - ... the %foo slot has not been created yet
ok 3 - ... the object agrees
ok 4 - ... checking doesn' vivify
ok 5 - ... created %Foo::foo successfully
ok 6 - ... SCALAR shouldnt have been created too
ok 7 - ... ARRAY shouldnt have been created too
ok 8 - ... CODE shouldnt have been created too
ok 9 - ... the %foo slot was created successfully
ok 10 - ... the meta agrees
ok 11 - ... our %foo was initialized correctly
ok 12 - ... our %foo was initialized correctly
ok 13 - ... got the right package variable back
ok 14 - ... our %foo is the same as the metas
ok 15 - ... our %foo was updated correctly
ok 16 - ... our %foo was updated correctly
ok 17 - ... the @bar slot has not been created yet
ok 18 - ... created @Foo::bar successfully
ok 19 - ... the @bar slot was created successfully
ok 20 - ... the meta agrees
ok 21 - ... SCALAR shouldnt have been created too
ok 22 - ... HASH shouldnt have been created too
ok 23 - ... CODE shouldnt have been created too
ok 24 - ... our @bar was initialized correctly
ok 25 - ... our @bar was initialized correctly
ok 26 - ... the $baz slot has not been created yet
ok 27 - ... created $Foo::baz successfully
ok 28 - ... the $baz slot was created successfully
ok 29 - ... the meta agrees
ok 30 - ... ARRAY shouldnt have been created too
ok 31 - ... HASH shouldnt have been created too
ok 32 - ... CODE shouldnt have been created too
ok 33 - ... got the right value back
ok 34 - ... our $baz was assigned to correctly
ok 35 - ... the meta agrees
ok 36 - ... the &funk slot has not been created yet
ok 37 - ... created &Foo::funk successfully
ok 38 - ... the &funk slot was created successfully
ok 39 - ... the meta agrees
ok 40 - ... SCALAR shouldnt have been created too
ok 41 - ... ARRAY shouldnt have been created too
ok 42 - ... HASH shouldnt have been created too
ok 43 - ... our &funk exists
ok 44 - ... got the right value from the function
ok 45 - ... created @Foo::foo successfully
ok 46 - ... the @foo slot was added successfully
ok 47 - ... got the right values for @Foo::foo
ok 48 - ... created &Foo::foo successfully
ok 49 - ... the meta agrees
ok 50 - ... got the right value for &Foo::foo
ok 51 - ... created $Foo::foo successfully
ok 52 - ... the meta agrees
ok 53 - ... got the right scalar value back
ok 54 - ... got the right value from the scalar
ok 55 - ... removed %Foo::foo successfully
ok 56 - ... the %foo slot was removed successfully
ok 57 - ... the @foo slot still exists
ok 58 - ... the &foo slot still exists
ok 59 - ... the $foo slot still exists
ok 60 - ... got the right values for @Foo::foo
ok 61 - ... got the right value for &Foo::foo
ok 62 - ... got the right value for $Foo::foo
ok 63 - ... the %foo slot has been removed successfully
ok 64 - ... the @foo slot has NOT been removed
ok 65 - ... the &foo slot has NOT been removed
ok 66 - ... the $foo slot has NOT been removed
ok 67 - ... removed &Foo::foo successfully
ok 68 - ... the &foo slot no longer exists
ok 69 - ... the @foo slot still exists
ok 70 - ... the $foo slot still exists
ok 71 - ... got the right values for @Foo::foo
ok 72 - ... got the right value for $Foo::foo
ok 73 - ... the %foo slot has been removed successfully
ok 74 - ... the &foo slot has now been removed
ok 75 - ... the @foo slot has NOT been removed
ok 76 - ... the $foo slot has NOT been removed
ok 77 - ... removed $Foo::foo successfully
ok 78 - ... the $foo slot no longer exists
ok 79 - ... the @foo slot still exists
ok 80 - ... got the right values for @Foo::foo
ok 81 - ... the %foo slot has been removed successfully
ok 82 - ... the &foo slot has now been removed
ok 83 - ... the $foo slot has now been removed
ok 84 - ... the @foo slot has NOT been removed
ok 85 - ... the fetched symbols are the same as the listed ones
ok 86 - ... the fetched symbols are the same as the listed ones
ok 87 - ... got the right symbol
ok 88 - ... got the right symbol
ok 89 - ... the fetched symbols are the same as the listed ones
ok 90 - ... got the right symbol
ok 91 - got the right ones
ok 92 - can't initialize a slot with the wrong type of value
ok 93 - can't initialize a slot with the wrong type of value
ok 94 - can't initialize a slot with the wrong type of value
ok 95 - can't initialize a slot with the wrong type of value
ok 96 - got $foo
ok 97 - got @foo
ok 98 - got %foo
ok 99 - got &foo
ok 100 - got foo
ok 101 - got expected value for $foo
ok 102 - got expected value for %foo
ok 103 - got expected value for &foo
ok 104 - got expected value for @foo
ok 105 - got expected value for foo
ok 106 - got expected value for $foo
ok 107 - got expected value for %bar
ok 108 - got expected value for %foo
ok 109 - got expected value for &foo
ok 110 - got expected value for @foo
ok 111 - got expected value for foo
ok 112 - got expected value for $foo
ok 113 - got expected value for %bar
ok 114 - got expected value for %foo
ok 115 - got expected value for &foo
ok 116 - got expected value for @foo
ok 117 - got expected value for foo
ok 118 - list_all_symbols
not ok 119 - list_all_symbols SCALAR # TODO undef scalars aren't visible on 5.8, or from pure perl at all
# Failed (TODO) test 'list_all_symbols SCALAR'
# at t/01-basic.t line 397.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'foo'
ok 120 - list_all_symbols ARRAY
ok 121 - list_all_symbols HASH
ok 122 - list_all_symbols CODE
1..122
ok
t/02-extension.t ................
ok 1 - The object isa My::Package::Stash
ok 2 - The object isa Package::Stash
ok 3 - ... the %foo slot has not been created yet
ok 4 - ... the foo_stash agrees
ok 5 - ... the %foo symbol is created succcessfully
ok 6 - ... the %foo slot has not been created in the actual Foo package
ok 7 - ... the foo_stash agrees
ok 8 - ... got the right package variable back
ok 9 - ... our %foo is the same as the foo_stashs
ok 10 - ... the @bar slot has not been created yet
ok 11 - ... created @Foo::bar successfully
ok 12 - ... the @bar slot has still not been created
ok 13 - ... the %baz slot has not been created yet
ok 14 - ... created %Foo::baz successfully
ok 15 - ... the %baz slot has still not been created
1..15
ok
t/03-io.t .......................
ok 1 - has &foo
ok 2 - has foo
ok 3 - has &foo
ok 4 - has foo
ok 5 - has &bar
ok 6 - has bar
ok 7 - has &bar
ok 8 - has bar
ok 9 - can add an IO symbol
ok 10 - has baz
ok 11 - got the right baz
1..11
ok
t/04-get.t ......................
ok 1 - got nothing yet
ok 2 - got something
ok 3 - got the right variable
ok 4 - stash has the right variable
ok 5 - got nothing yet
ok 6 - got something
ok 7 - got the right variable
ok 8 - stash has the right variable
ok 9 - got nothing yet
ok 10 - got something
ok 11 - got the right variable
ok 12 - stash has the right variable
ok 13 - got nothing yet
ok 14 - got something
ok 15 - got the right variable
ok 16 - got the right variable
ok 17 - got the right variable
ok 18 - stash has the right variable
ok 19 - got nothing yet
ok 20 - The object isa IO
ok 21 - got the right variable
ok 22 - The object isa IO
ok 23 - stash has the right variable
ok 24 - The object isa IO
ok 25 - got the right variable
ok 26 - got something
ok 27 - got the right variable
ok 28 - stash has the right variable
ok 29 - got something
ok 30 - got the right variable
ok 31 - stash has the right variable
ok 32 - got something
ok 33 - got the right variable
ok 34 - stash has the right variable
ok 35 - The object isa IO
ok 36 - stash has the right variable
1..36
ok
t/05-isa.t ......................
ok 1 - The class isa Bar
1..1
ok
t/06-addsub.t ...................
ok 1 - ... the &funk slot has not been created yet
ok 2 - ... created &Foo::funk successfully
ok 3 - ... the &funk slot was created successfully
ok 4 - ... our &funk exists
ok 5 - ... got the right value from the function
ok 6
ok 7
1..7
ok
t/07-edge-cases.t ...............
not ok 1 - $SCALAR # TODO undef scalars aren't visible on 5.8, or from pure perl at all
# Failed (TODO) test '$SCALAR'
# at t/07-edge-cases.t line 31.
ok 2 - $SCALAR_WITH_VALUE
ok 3 - @ARRAY
ok 4 - %HASH
ok 5 - can see all code symbols
ok 6 - $added
ok 7 - @added
ok 8 - %added
ok 9 - expanded a constant into a coderef
ok 10 - nothing yet
ok 11 - got an empty scalar
1..11
ok
t/10-synopsis.t .................
ok 1 - set in the stash properly
ok 2 - doesn't have anything in scalar slot
ok 3 - namespace works properly
1..3
ok
t/20-leaks.t ....................
ok 1 - object construction doesn't leak (leaks 0 <= 0)
ok 2 - object construction doesn't leak, with an existing package (leaks 0 <= 0)
ok 3 - object construction doesn't leak, with an existing package with things in it (leaks 0 <= 0)
ok 4 - accessors don't leak (leaks 0 <= 0)
ok 5 - add_symbol doesn't leak (leaks 0 <= 0)
not ok 6 - add_symbol doesn't leak (leaks 4 <= 0) # TODO the pure perl implementation leaks here somehow
# Failed (TODO) test 'add_symbol doesn't leak (leaks 4 <= 0)'
# at t/20-leaks.t line 71.
# '4'
# <=
# '0'
# leaked IO(0x171fe0) from /export/home/fly818/ap818/lib/Symbol.pm line 110.
# 109: # force the IO slot to be filled
# 110: select(select $sym);
# 111: *$sym{IO};
# SV = PVIO(0x164c90) at 0x171fe0
# REFCNT = 1
# FLAGS = (OBJECT)
# IV = 0
# NV = 0
# STASH = 0x149c20 "IO::Handle"
# IFP = 0x0
# OFP = 0x0
# DIRP = 0x0
# LINES = 0
# PAGE = 0
# PAGE_LEN = 60
# LINES_LEFT = 0
# TOP_GV = 0x0
# FMT_GV = 0x0
# BOTTOM_GV = 0x0
# SUBPROCESS = 0
# TYPE = '\0'
# FLAGS = 0x0
# leaked ARRAY(0x1695c8) from t/20-leaks.t line 67.
# 66: $foo->add_symbol('$scalar_init' => 1);
# 67: $foo->add_symbol('@array_init' => []);
# 68: $foo->add_symbol('%hash_init' => {});
# SV = PVAV(0x2f8cb0) at 0x1695c8
# REFCNT = 1
# FLAGS = ()
# IV = 0
# NV = 0
# ARRAY = 0x0
# FILL = -1
# MAX = -1
# ARYLEN = 0x0
# FLAGS = (REAL)
# leaked HASH(0x15a6f8) from t/20-leaks.t line 68.
# 67: $foo->add_symbol('@array_init' => []);
# 68: $foo->add_symbol('%hash_init' => {});
# 69: $foo->add_symbol('&code_init' => sub { "foo" });
# SV = PVHV(0x2625e8) at 0x15a6f8
# REFCNT = 1
# FLAGS = (SHAREKEYS)
# IV = 0
# NV = 0
# ARRAY = 0x0
# KEYS = 0
# FILL = 0
# MAX = 7
# RITER = -1
# EITER = 0x0
ok 7 - sub installed correctly
ok 8 - code_init exists
ok 9 - remove_symbol doesn't leak (leaks 0 <= 0)
ok 10 - remove_glob doesn't leak (leaks 0 <= 0)
ok 11 - has_symbol doesn't leak (leaks 0 <= 0)
ok 12 - get_symbol doesn't leak (leaks 0 <= 0)
ok 13
ok 14
ok 15 - get_or_add_symbol doesn't leak (leaks 0 <= 0)
not ok 16 # TODO undef scalars aren't visible on 5.8, or from pure perl at all
# Failed (TODO) test at t/20-leaks.t line 133.
ok 17
ok 18
ok 19
ok 20
ok 21 - The class isa Exporter
ok 22 - list_all_symbols doesn't leak (leaks 0 <= 0)
ok 23 - get_all_symbols doesn't leak (leaks 0 <= 0)
not ok 24 - get_symbol doesn't leak during glob expansion (leaks 3 <= 0) # TODO deleting stashes is inherently leaky on 5.8
# Failed (TODO) test 'get_symbol doesn't leak during glob expansion (leaks 3 <= 0)'
# at t/20-leaks.t line 180.
# '3'
# <=
# '0'
# leaked GLOB(0x298798) from /export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X/blib/lib/Package/Stash/PP.pm line 114.
# 113: no warnings 'redefine', 'misc', 'prototype';
# 114: *{$pkg . '::' . $name} = ref $initial_value ? $initial_value : \$initial_value;
# 115:}
# SV = PVGV(0x2eec28) at 0x298798
# REFCNT = 1
# FLAGS = (GMG,SMG,MULTI,IMPORT( SV ))
# IV = 0
# NV = 0
# MAGIC = 0x2fed10
# MG_VIRTUAL = &PL_vtbl_glob
# MG_TYPE = PERL_MAGIC_glob(*)
# MG_OBJ = 0x298798
# NAME = "ISA"
# NAMELEN = 3
# GvSTASH = 0x315600 "Quux4"
# GP = 0x2ff650
# SV = 0x31566c
# REFCNT = 1
# IO = 0x0
# FORM = 0x0
# AV = 0x315630
# HV = 0x0
# CV = 0x0
# CVGEN = 0x0
# GPFLAGS = 0x0
# LINE = 114
# FILE = "/export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X/blib/lib/Package/Stash/PP.pm"
# FLAGS = 0x12
# EGV = 0x298798 "ISA"
# leaked ARRAY(0x315630) from /export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X/blib/lib/Package/Stash/PP.pm line 114.
# 113: no warnings 'redefine', 'misc', 'prototype';
# 114: *{$pkg . '::' . $name} = ref $initial_value ? $initial_value : \$initial_value;
# 115:}
# SV = PVAV(0x2f8d40) at 0x315630
# REFCNT = 1
# FLAGS = (SMG,RMG)
# IV = 0
# NV = 0
# MAGIC = 0x2fed30
# MG_VIRTUAL = &PL_vtbl_isa
# MG_TYPE = PERL_MAGIC_isa(I)
# MG_OBJ = 0x298798
# ARRAY = 0x0
# FILL = -1
# MAX = -1
# ARYLEN = 0x0
# FLAGS = (REAL)
# leaked HASH(0x315600) from t/20-leaks.t line 176.
# 175: $i++;
# 176: eval "package Quux$i; 1;";
# 177: my $quux = Package::Stash->new("Quux$i");
# SV = PVHV(0x3163a0) at 0x315600
# REFCNT = 1
# FLAGS = (SHAREKEYS)
# IV = 1
# NV = 0
# ARRAY = 0x2edd58 (0:7, 1:1)
# hash quality = 100.0%
# KEYS = 1
# FILL = 1
# MAX = 7
# RITER = -1
# EITER = 0x0
# NAME = "Quux4"
# Elt "ISA" HASH = 0x9c7b94db
# SV = PVGV(0x2eec28) at 0x298798
# REFCNT = 1
# FLAGS = (GMG,SMG,MULTI,IMPORT( SV ))
# IV = 0
# NV = 0
# MAGIC = 0x2fed10
# MG_VIRTUAL = &PL_vtbl_glob
# MG_TYPE = PERL_MAGIC_glob(*)
# MG_OBJ = 0x298798
# NAME = "ISA"
# NAMELEN = 3
# GvSTASH = 0x315600 "Quux4"
# GP = 0x2ff650
# SV = 0x31566c
# REFCNT = 1
# IO = 0x0
# FORM = 0x0
# AV = 0x315630
# HV = 0x0
# CV = 0x0
# CVGEN = 0x0
# GPFLAGS = 0x0
# LINE = 114
# FILE = "/export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X/blib/lib/Package/Stash/PP.pm"
# FLAGS = 0x12
# EGV = 0x298798 "ISA"
ok 25 - doesn't leak on errors (leaks 0 <= 0)
1..25
ok
t/21-leaks-debug.t ..............
ok 1 - object construction doesn't leak (leaks 0 <= 0)
ok 2 - object construction doesn't leak, with an existing package (leaks 0 <= 0)
ok 3 - object construction doesn't leak, with an existing package with things in it (leaks 0 <= 0)
ok 4 - accessors don't leak (leaks 0 <= 0)
ok 5 - add_symbol doesn't leak (leaks 0 <= 0)
not ok 6 - add_symbol doesn't leak (leaks 4 <= 0) # TODO the pure perl implementation leaks here somehow
# Failed (TODO) test 'add_symbol doesn't leak (leaks 4 <= 0)'
# at t/21-leaks-debug.t line 73.
# '4'
# <=
# '0'
# leaked IO(0x172a10) from /export/home/fly818/ap818/lib/Symbol.pm line 110.
# 109: # force the IO slot to be filled
# 110: select(select $sym);
# 111: *$sym{IO};
# SV = PVIO(0x2f5480) at 0x172a10
# REFCNT = 1
# FLAGS = (OBJECT)
# IV = 0
# NV = 0
# STASH = 0x149c20 "IO::Handle"
# IFP = 0x0
# OFP = 0x0
# DIRP = 0x0
# LINES = 0
# PAGE = 0
# PAGE_LEN = 60
# LINES_LEFT = 0
# TOP_GV = 0x0
# FMT_GV = 0x0
# BOTTOM_GV = 0x0
# SUBPROCESS = 0
# TYPE = '\0'
# FLAGS = 0x0
# leaked ARRAY(0x168fe8) from t/21-leaks-debug.t line 69.
# 68: $foo->add_symbol('$scalar_init' => 1);
# 69: $foo->add_symbol('@array_init' => []);
# 70: $foo->add_symbol('%hash_init' => {});
# SV = PVAV(0x2fe0d0) at 0x168fe8
# REFCNT = 1
# FLAGS = ()
# IV = 0
# NV = 0
# ARRAY = 0x0
# FILL = -1
# MAX = -1
# ARYLEN = 0x0
# FLAGS = (REAL)
# leaked HASH(0x15a6f8) from t/21-leaks-debug.t line 70.
# 69: $foo->add_symbol('@array_init' => []);
# 70: $foo->add_symbol('%hash_init' => {});
# 71: $foo->add_symbol('&code_init' => sub { "foo" });
# SV = PVHV(0x262698) at 0x15a6f8
# REFCNT = 1
# FLAGS = (SHAREKEYS)
# IV = 0
# NV = 0
# ARRAY = 0x0
# KEYS = 0
# FILL = 0
# MAX = 7
# RITER = -1
# EITER = 0x0
ok 7 - sub installed correctly
ok 8 - code_init exists
ok 9 - remove_symbol doesn't leak (leaks 0 <= 0)
ok 10 - remove_glob doesn't leak (leaks 0 <= 0)
ok 11 - has_symbol doesn't leak (leaks 0 <= 0)
ok 12 - get_symbol doesn't leak (leaks 0 <= 0)
ok 13
ok 14
ok 15 - get_or_add_symbol doesn't leak (leaks 0 <= 0)
not ok 16 # TODO undef scalars aren't visible on 5.8, or from pure perl at all
# Failed (TODO) test at t/21-leaks-debug.t line 135.
ok 17
ok 18
ok 19
ok 20
ok 21 - The class isa Exporter
ok 22 - list_all_symbols doesn't leak (leaks 0 <= 0)
ok 23 - get_all_symbols doesn't leak (leaks 0 <= 0)
not ok 24 - get_symbol doesn't leak during glob expansion (leaks 3 <= 0) # TODO deleting stashes is inherently leaky on 5.8
# Failed (TODO) test 'get_symbol doesn't leak during glob expansion (leaks 3 <= 0)'
# at t/21-leaks-debug.t line 182.
# '3'
# <=
# '0'
# leaked GLOB(0x298fc8) from /export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X/blib/lib/Package/Stash/PP.pm line 114.
# 113: no warnings 'redefine', 'misc', 'prototype';
# 114: *{$pkg . '::' . $name} = ref $initial_value ? $initial_value : \$initial_value;
# 115:}
# SV = PVGV(0x31c508) at 0x298fc8
# REFCNT = 1
# FLAGS = (GMG,SMG,MULTI,IMPORT( SV ))
# IV = 0
# NV = 0
# MAGIC = 0x3074e0
# MG_VIRTUAL = &PL_vtbl_glob
# MG_TYPE = PERL_MAGIC_glob(*)
# MG_OBJ = 0x298fc8
# NAME = "ISA"
# NAMELEN = 3
# GvSTASH = 0x30410c "Quux4"
# GP = 0x3085f0
# SV = 0x304178
# REFCNT = 1
# IO = 0x0
# FORM = 0x0
# AV = 0x30413c
# HV = 0x0
# CV = 0x0
# CVGEN = 0x0
# GPFLAGS = 0x0
# LINE = 114
# FILE = "/export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X/blib/lib/Package/Stash/PP.pm"
# FLAGS = 0x12
# EGV = 0x298fc8 "ISA"
# leaked ARRAY(0x30413c) from /export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X/blib/lib/Package/Stash/PP.pm line 114.
# 113: no warnings 'redefine', 'misc', 'prototype';
# 114: *{$pkg . '::' . $name} = ref $initial_value ? $initial_value : \$initial_value;
# 115:}
# SV = PVAV(0x2fe160) at 0x30413c
# REFCNT = 1
# FLAGS = (SMG,RMG)
# IV = 0
# NV = 0
# MAGIC = 0x307520
# MG_VIRTUAL = &PL_vtbl_isa
# MG_TYPE = PERL_MAGIC_isa(I)
# MG_OBJ = 0x298fc8
# ARRAY = 0x0
# FILL = -1
# MAX = -1
# ARYLEN = 0x0
# FLAGS = (REAL)
# leaked HASH(0x30410c) from t/21-leaks-debug.t line 178.
# 177: $i++;
# 178: eval "package Quux$i; 1;";
# 179: my $quux = Package::Stash->new("Quux$i");
# SV = PVHV(0x31c728) at 0x30410c
# REFCNT = 1
# FLAGS = (SHAREKEYS)
# IV = 1
# NV = 0
# ARRAY = 0x302000 (0:7, 1:1)
# hash quality = 100.0%
# KEYS = 1
# FILL = 1
# MAX = 7
# RITER = -1
# EITER = 0x0
# NAME = "Quux4"
# Elt "ISA" HASH = 0x9c7b94db
# SV = PVGV(0x31c508) at 0x298fc8
# REFCNT = 1
# FLAGS = (GMG,SMG,MULTI,IMPORT( SV ))
# IV = 0
# NV = 0
# MAGIC = 0x3074e0
# MG_VIRTUAL = &PL_vtbl_glob
# MG_TYPE = PERL_MAGIC_glob(*)
# MG_OBJ = 0x298fc8
# NAME = "ISA"
# NAMELEN = 3
# GvSTASH = 0x30410c "Quux4"
# GP = 0x3085f0
# SV = 0x304178
# REFCNT = 1
# IO = 0x0
# FORM = 0x0
# AV = 0x30413c
# HV = 0x0
# CV = 0x0
# CVGEN = 0x0
# GPFLAGS = 0x0
# LINE = 114
# FILE = "/export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X/blib/lib/Package/Stash/PP.pm"
# FLAGS = 0x12
# EGV = 0x298fc8 "ISA"
ok 25 - doesn't leak on errors (leaks 0 <= 0)
1..25
ok
t/impl-selection/01-choice.t ....
ok 1 - autodetected properly: XS
ok 2 - Package::Stash->can('new')
1..2
ok
t/impl-selection/02-env.t .......
ok 1 - autodetected properly: PP
ok 2 - Package::Stash->can('new')
ok 3 - autodetected properly: XS
ok 4 - Package::Stash->can('new')
1..4
ok
t/impl-selection/03-var.t .......
ok 1 - autodetected properly: PP
ok 2 - Package::Stash->can('new')
ok 3 - autodetected properly: XS
ok 4 - Package::Stash->can('new')
1..4
ok
t/impl-selection/10-basic-pp.t ..
ok 1 - loaded PP
ok 2 - didn't load XS
ok 3 - ... can't call name() as a class method
ok 4 - ... the %foo slot has not been created yet
ok 5 - ... the object agrees
ok 6 - ... checking doesn' vivify
ok 7 - ... created %Foo::foo successfully
ok 8 - ... SCALAR shouldnt have been created too
ok 9 - ... ARRAY shouldnt have been created too
ok 10 - ... CODE shouldnt have been created too
ok 11 - ... the %foo slot was created successfully
ok 12 - ... the meta agrees
ok 13 - ... our %foo was initialized correctly
ok 14 - ... our %foo was initialized correctly
ok 15 - ... got the right package variable back
ok 16 - ... our %foo is the same as the metas
ok 17 - ... our %foo was updated correctly
ok 18 - ... our %foo was updated correctly
ok 19 - ... the @bar slot has not been created yet
ok 20 - ... created @Foo::bar successfully
ok 21 - ... the @bar slot was created successfully
ok 22 - ... the meta agrees
ok 23 - ... SCALAR shouldnt have been created too
ok 24 - ... HASH shouldnt have been created too
ok 25 - ... CODE shouldnt have been created too
ok 26 - ... our @bar was initialized correctly
ok 27 - ... our @bar was initialized correctly
ok 28 - ... the $baz slot has not been created yet
ok 29 - ... created $Foo::baz successfully
ok 30 - ... the $baz slot was created successfully
ok 31 - ... the meta agrees
ok 32 - ... ARRAY shouldnt have been created too
ok 33 - ... HASH shouldnt have been created too
ok 34 - ... CODE shouldnt have been created too
ok 35 - ... got the right value back
ok 36 - ... our $baz was assigned to correctly
ok 37 - ... the meta agrees
ok 38 - ... the &funk slot has not been created yet
ok 39 - ... created &Foo::funk successfully
ok 40 - ... the &funk slot was created successfully
ok 41 - ... the meta agrees
ok 42 - ... SCALAR shouldnt have been created too
ok 43 - ... ARRAY shouldnt have been created too
ok 44 - ... HASH shouldnt have been created too
ok 45 - ... our &funk exists
ok 46 - ... got the right value from the function
ok 47 - ... created @Foo::foo successfully
ok 48 - ... the @foo slot was added successfully
ok 49 - ... got the right values for @Foo::foo
ok 50 - ... created &Foo::foo successfully
ok 51 - ... the meta agrees
ok 52 - ... got the right value for &Foo::foo
ok 53 - ... created $Foo::foo successfully
ok 54 - ... the meta agrees
ok 55 - ... got the right scalar value back
ok 56 - ... got the right value from the scalar
ok 57 - ... removed %Foo::foo successfully
ok 58 - ... the %foo slot was removed successfully
ok 59 - ... the @foo slot still exists
ok 60 - ... the &foo slot still exists
ok 61 - ... the $foo slot still exists
ok 62 - ... got the right values for @Foo::foo
ok 63 - ... got the right value for &Foo::foo
ok 64 - ... got the right value for $Foo::foo
ok 65 - ... the %foo slot has been removed successfully
ok 66 - ... the @foo slot has NOT been removed
ok 67 - ... the &foo slot has NOT been removed
ok 68 - ... the $foo slot has NOT been removed
ok 69 - ... removed &Foo::foo successfully
ok 70 - ... the &foo slot no longer exists
ok 71 - ... the @foo slot still exists
ok 72 - ... the $foo slot still exists
ok 73 - ... got the right values for @Foo::foo
ok 74 - ... got the right value for $Foo::foo
ok 75 - ... the %foo slot has been removed successfully
ok 76 - ... the &foo slot has now been removed
ok 77 - ... the @foo slot has NOT been removed
ok 78 - ... the $foo slot has NOT been removed
ok 79 - ... removed $Foo::foo successfully
ok 80 - ... the $foo slot no longer exists
ok 81 - ... the @foo slot still exists
ok 82 - ... got the right values for @Foo::foo
ok 83 - ... the %foo slot has been removed successfully
ok 84 - ... the &foo slot has now been removed
ok 85 - ... the $foo slot has now been removed
ok 86 - ... the @foo slot has NOT been removed
ok 87 - ... the fetched symbols are the same as the listed ones
ok 88 - ... the fetched symbols are the same as the listed ones
ok 89 - ... got the right symbol
ok 90 - ... got the right symbol
ok 91 - ... the fetched symbols are the same as the listed ones
ok 92 - ... got the right symbol
ok 93 - got the right ones
ok 94 - can't initialize a slot with the wrong type of value
ok 95 - can't initialize a slot with the wrong type of value
ok 96 - can't initialize a slot with the wrong type of value
ok 97 - can't initialize a slot with the wrong type of value
ok 98 - got $foo
ok 99 - got @foo
ok 100 - got %foo
ok 101 - got &foo
ok 102 - got foo
ok 103 - got expected value for $foo
ok 104 - got expected value for %foo
ok 105 - got expected value for &foo
ok 106 - got expected value for @foo
ok 107 - got expected value for foo
ok 108 - got expected value for $foo
ok 109 - got expected value for %bar
ok 110 - got expected value for %foo
ok 111 - got expected value for &foo
ok 112 - got expected value for @foo
ok 113 - got expected value for foo
ok 114 - got expected value for $foo
ok 115 - got expected value for %bar
ok 116 - got expected value for %foo
ok 117 - got expected value for &foo
ok 118 - got expected value for @foo
ok 119 - got expected value for foo
ok 120 - list_all_symbols
not ok 121 - list_all_symbols SCALAR # TODO undef scalars aren't visible on 5.8, or from pure perl at all
# Failed (TODO) test 'list_all_symbols SCALAR'
# at t/impl-selection/10-basic-pp.t line 401.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'foo'
ok 122 - list_all_symbols ARRAY
ok 123 - list_all_symbols HASH
ok 124 - list_all_symbols CODE
1..124
ok
t/impl-selection/11-basic-xs.t ..
ok 1 - loaded XS
ok 2 - didn't load PP
ok 3 - ... can't call name() as a class method
ok 4 - ... the %foo slot has not been created yet
ok 5 - ... the object agrees
ok 6 - ... checking doesn' vivify
ok 7 - ... created %Foo::foo successfully
ok 8 - ... SCALAR shouldnt have been created too
ok 9 - ... ARRAY shouldnt have been created too
ok 10 - ... CODE shouldnt have been created too
ok 11 - ... the %foo slot was created successfully
ok 12 - ... the meta agrees
ok 13 - ... our %foo was initialized correctly
ok 14 - ... our %foo was initialized correctly
ok 15 - ... got the right package variable back
ok 16 - ... our %foo is the same as the metas
ok 17 - ... our %foo was updated correctly
ok 18 - ... our %foo was updated correctly
ok 19 - ... the @bar slot has not been created yet
ok 20 - ... created @Foo::bar successfully
ok 21 - ... the @bar slot was created successfully
ok 22 - ... the meta agrees
ok 23 - ... SCALAR shouldnt have been created too
ok 24 - ... HASH shouldnt have been created too
ok 25 - ... CODE shouldnt have been created too
ok 26 - ... our @bar was initialized correctly
ok 27 - ... our @bar was initialized correctly
ok 28 - ... the $baz slot has not been created yet
ok 29 - ... created $Foo::baz successfully
ok 30 - ... the $baz slot was created successfully
ok 31 - ... the meta agrees
ok 32 - ... ARRAY shouldnt have been created too
ok 33 - ... HASH shouldnt have been created too
ok 34 - ... CODE shouldnt have been created too
ok 35 - ... got the right value back
ok 36 - ... our $baz was assigned to correctly
ok 37 - ... the meta agrees
ok 38 - ... the &funk slot has not been created yet
ok 39 - ... created &Foo::funk successfully
ok 40 - ... the &funk slot was created successfully
ok 41 - ... the meta agrees
ok 42 - ... SCALAR shouldnt have been created too
ok 43 - ... ARRAY shouldnt have been created too
ok 44 - ... HASH shouldnt have been created too
ok 45 - ... our &funk exists
ok 46 - ... got the right value from the function
ok 47 - ... created @Foo::foo successfully
ok 48 - ... the @foo slot was added successfully
ok 49 - ... got the right values for @Foo::foo
ok 50 - ... created &Foo::foo successfully
ok 51 - ... the meta agrees
ok 52 - ... got the right value for &Foo::foo
ok 53 - ... created $Foo::foo successfully
ok 54 - ... the meta agrees
ok 55 - ... got the right scalar value back
ok 56 - ... got the right value from the scalar
ok 57 - ... removed %Foo::foo successfully
ok 58 - ... the %foo slot was removed successfully
ok 59 - ... the @foo slot still exists
ok 60 - ... the &foo slot still exists
ok 61 - ... the $foo slot still exists
ok 62 - ... got the right values for @Foo::foo
ok 63 - ... got the right value for &Foo::foo
ok 64 - ... got the right value for $Foo::foo
ok 65 - ... the %foo slot has been removed successfully
ok 66 - ... the @foo slot has NOT been removed
ok 67 - ... the &foo slot has NOT been removed
ok 68 - ... the $foo slot has NOT been removed
ok 69 - ... removed &Foo::foo successfully
ok 70 - ... the &foo slot no longer exists
ok 71 - ... the @foo slot still exists
ok 72 - ... the $foo slot still exists
ok 73 - ... got the right values for @Foo::foo
ok 74 - ... got the right value for $Foo::foo
ok 75 - ... the %foo slot has been removed successfully
ok 76 - ... the &foo slot has now been removed
ok 77 - ... the @foo slot has NOT been removed
ok 78 - ... the $foo slot has NOT been removed
ok 79 - ... removed $Foo::foo successfully
ok 80 - ... the $foo slot no longer exists
ok 81 - ... the @foo slot still exists
ok 82 - ... got the right values for @Foo::foo
ok 83 - ... the %foo slot has been removed successfully
ok 84 - ... the &foo slot has now been removed
ok 85 - ... the $foo slot has now been removed
ok 86 - ... the @foo slot has NOT been removed
ok 87 - ... the fetched symbols are the same as the listed ones
ok 88 - ... the fetched symbols are the same as the listed ones
ok 89 - ... got the right symbol
ok 90 - ... got the right symbol
ok 91 - ... the fetched symbols are the same as the listed ones
ok 92 - ... got the right symbol
ok 93 - got the right ones
ok 94 - can't initialize a slot with the wrong type of value
ok 95 - can't initialize a slot with the wrong type of value
ok 96 - can't initialize a slot with the wrong type of value
ok 97 - can't initialize a slot with the wrong type of value
ok 98 - got $foo
ok 99 - got @foo
ok 100 - got %foo
ok 101 - got &foo
ok 102 - got foo
ok 103 - got expected value for $foo
ok 104 - got expected value for %foo
ok 105 - got expected value for &foo
ok 106 - got expected value for @foo
ok 107 - got expected value for foo
ok 108 - got expected value for $foo
ok 109 - got expected value for %bar
ok 110 - got expected value for %foo
ok 111 - got expected value for &foo
ok 112 - got expected value for @foo
ok 113 - got expected value for foo
ok 114 - got expected value for $foo
ok 115 - got expected value for %bar
ok 116 - got expected value for %foo
ok 117 - got expected value for &foo
ok 118 - got expected value for @foo
ok 119 - got expected value for foo
ok 120 - list_all_symbols
not ok 121 - list_all_symbols SCALAR # TODO undef scalars aren't visible on 5.8, or from pure perl at all
# Failed (TODO) test 'list_all_symbols SCALAR'
# at t/impl-selection/11-basic-xs.t line 402.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'foo'
ok 122 - list_all_symbols ARRAY
ok 123 - list_all_symbols HASH
ok 124 - list_all_symbols CODE
1..124
ok
t/release-eol.t ................. skipped: these tests are for release candidate testing
t/release-no-tabs.t ............. skipped: these tests are for release candidate testing
t/release-pod-coverage.t ........ skipped: these tests are for release candidate testing
t/release-pod-syntax.t .......... skipped: these tests are for release candidate testing
All tests successful.
Files=20, Tests=518, 5 wallclock secs ( 0.56 usr 0.12 sys + 3.55 cusr 0.56 csys = 4.79 CPU)
Result: PASS
DOY/Package-Stash-0.21.tar.gz
make test TEST_VERBOSE=1 -- OK
Jesse Luehrs <doy@cpan.org>
routines for manipulating stashes
>>> (cd /export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X && tar cvf - Package-Stash-0.21.ppd blib) | gzip -c >/export/home/fly818/var/REPO/D/DO/DOY/Package-Stash-0.21.tar.gz
Package-Stash-0.21.ppd
blib/
blib/lib/
blib/lib/Package/
blib/lib/Package/Stash/
blib/lib/Package/Stash/PP.pm
blib/lib/Package/Stash/Conflicts.pm
blib/lib/Package/Stash.pm
blib/script/
blib/script/package-stash-conflicts
blib/man3/
blib/man3/Package::Stash::PP.3
blib/man3/Package::Stash.3
>>> mv /export/home/fly818/var/cpan/build/Package-Stash-0.21-TfZN8X/Package-Stash-0.21.ppd /export/home/fly818/var/REPO/D/DO/DOY
Finished 2011-01-06T08:04:41