PATH=/opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2012-09-17T06:05:14 ActivePerl-1205 CPAN-1.9402 Going to read '/export/home/fly1232/var/cpan/Metadata' Database was generated on Mon, 17 Sep 2012 07:31:04 GMT Running make for C/CH/CHROMATIC/Sub-Context-1.00.tar.gz Checksum for /net/nas/data/cpan/authors/id/C/CH/CHROMATIC/Sub-Context-1.00.tar.gz ok Sub-Context-1.00/ Sub-Context-1.00/lib/ Sub-Context-1.00/lib/Sub/ Sub-Context-1.00/lib/Sub/Context.pm Sub-Context-1.00/META.yml Sub-Context-1.00/Changes Sub-Context-1.00/t/ Sub-Context-1.00/t/pod-coverage.t Sub-Context-1.00/t/0-signature.t Sub-Context-1.00/t/pod.t Sub-Context-1.00/t/basic.t Sub-Context-1.00/t/subs.t Sub-Context-1.00/MANIFEST Sub-Context-1.00/Build.PL Sub-Context-1.00/Makefile.PL Sub-Context-1.00/README Sub-Context-1.00/SIGNATURE CPAN.pm: Going to build C/CH/CHROMATIC/Sub-Context-1.00.tar.gz >>> /export/home/fly1232/bin/perl Makefile.PL Unparsable version '' for prerequisite Scalar::Util at Makefile.PL line 3. Unparsable version '' for prerequisite Test::Exception at Makefile.PL line 3. Checking if your kit is complete... Looks good Version::Requirements is deprecated; replace with CPAN::Meta::Requirements at /export/home/fly1232/var/megalib/Version/Requirements.pm line 17. require Version/Requirements.pm called at /export/home/fly1232/var/megalib/CPAN/Meta/Prereqs.pm line 10 CPAN::Meta::Prereqs::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0 eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0 require CPAN/Meta/Prereqs.pm called at /export/home/fly1232/var/megalib/CPAN/Meta/Feature.pm line 7 CPAN::Meta::Feature::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0 eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0 require CPAN/Meta/Feature.pm called at /export/home/fly1232/var/megalib/CPAN/Meta.pm line 9 CPAN::Meta::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0 eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0 require CPAN/Meta.pm called at /export/home/fly1232/var/megalib/ExtUtils/MM_Any.pm line 733 eval {...} called at /export/home/fly1232/var/megalib/ExtUtils/MM_Any.pm line 732 ExtUtils::MM_Any::_has_cpan_meta() called at /export/home/fly1232/var/megalib/ExtUtils/MM_Any.pm line 753 ExtUtils::MM_Any::metafile_target('PACK001=HASH(0x2e38e8)') called at /export/home/fly1232/var/megalib/ExtUtils/MakeMaker.pm line 690 ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x2e38e8)') called at /export/home/fly1232/var/megalib/ExtUtils/MakeMaker.pm line 60 ExtUtils::MakeMaker::WriteMakefile('PL_FILES', 'HASH(0x17cec8)', 'INSTALLDIRS', 'site', 'NAME', 'Sub::Context', 'VERSION_FROM', 'lib/Sub/Context.pm', 'PREREQ_PM', ...) called at Makefile.PL line 3 Writing Makefile for Sub::Context Writing MYMETA.yml and MYMETA.json >>> make cp lib/Sub/Context.pm blib/lib/Sub/Context.pm Manifying blib/man3/Sub::Context.3 CHROMATIC/Sub-Context-1.00.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly1232/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # Next time around, consider install Module::Signature, # so you can verify the integrity of this distribution. t/0-signature.t ... 1..1 ok 1 # skip Module::Signature not installed ok t/basic.t ......... 1..18 ok 1 - use Sub::Context; ok 2 - main->can('foo') ok 3 - should detect and dispatch in void context ok 4 - should respect list context ok 5 - ... and should return correct order ok 6 - should detect and dispatch in scalar context ok 7 - NotMain->can('bar') ok 8 - import should only pollute calling package namespace ok 9 - should throw exception with unexpected context ok 10 - should not attempt to call a non-sub ok 11 - ... warning with custom message, if necessary ok 12 - not overwriting existing scalar ok 13 - ... hash ok 14 - ... or array ok 15 - ... nor original sub ok 16 - should wrap around existing sub for context ok 17 - should call passed subref ok 18 - import() should warn with bad type request ok t/pod-coverage.t .. 1..1 ok 1 - Pod coverage on Sub::Context ok t/pod.t ........... 1..1 ok 1 - POD test for blib/lib/Sub/Context.pm ok t/subs.t .......... 1..38 ok 1 - use Sub::Context; ok 2 - Sub::Context->can('_qualify_sub') ok 3 - _qualify_sub() should find sub in given package name, _qualifying it ok 4 - ... or should find sub given fully-qualified name ok 5 - ... even if sub does not exist ok 6 - Sub::Context->can('_find_glob') ok 7 - _find_glob() should find named glob ok 8 - ... even if it does not exist yet ok 9 - Sub::Context->can('_validate_contexts') ok 10 - _validate_contexts() should die given invalid context ok 11 - ... but should live otherwise ok 12 - Sub::Context->can('_fetch_glob') ok 13 - _fetch_glob() should not copy CODE slot ok 14 - ... but should copy other slots ok 15 - ... unmodified ok 16 - ... and should return new glob if it does not exist ok 17 - Sub::Context->can('_contexts') ok 18 - _contexts() should return available contexts ok 19 - Sub::Context->can('_generate_contexts') ok 20 - _generate_contexts() should add fallback contexts ok 21 - ... for the given contexts ok 22 - ... default throwing an exception, with no sub defined ok 23 - ... default throwing an exception, with no sub defined ok 24 - ... default throwing an exception, with no sub defined ok 25 - ... or setting fallback to defined sub ok 26 - ... pointing all unused contexts at wrapped subroutine if it exists ok 27 - ... but not overwriting existing wrap ok 28 - ... not allowing scalar references ok 29 - ... not allowing array references ok 30 - ... and not allowing hash references ok 31 - Sub::Context->can('_apply_contexts') ok 32 - _apply_contexts() should populate glob with a sub ok 33 - ... doing the right thing in void context ok 34 - ... in scalar context ok 35 - ... and in list context ok 36 - Sub::Context->can('_default_sub') ok 37 - _default_sub() should return named subref if it exists ok 38 - ... or a default croaking sub ok All tests successful. Files=5, Tests=59, 1 wallclock secs ( 0.11 usr 0.05 sys + 0.85 cusr 0.08 csys = 1.09 CPU) Result: PASS CHROMATIC/Sub-Context-1.00.tar.gz make test TEST_VERBOSE=1 -- OK chromatic <chromatic@wgz.org> Perl extension to dispatch subroutines based on their calling context >>> (cd /export/home/fly1232/var/cpan/build/Sub-Context-1.00-Y4EQlU && tar cvf - Sub-Context-1.00.ppd blib) | gzip -c >/export/home/fly1232/var/REPO/C/CH/CHROMATIC/Sub-Context-1.00.tar.gz Sub-Context-1.00.ppd blib/ blib/lib/ blib/lib/Sub/ blib/lib/Sub/Context.pm blib/man3/ blib/man3/Sub::Context.3 >>> mv /export/home/fly1232/var/cpan/build/Sub-Context-1.00-Y4EQlU/Sub-Context-1.00.ppd /export/home/fly1232/var/REPO/C/CH/CHROMATIC Finished 2012-09-17T06:05:27