PATH=/usr/bin:/bin:/home/fly1400/var/megalib/bin Start 2014-04-30T16:30:24 ActivePerl-1400 CPAN-2.00 Reading '/home/fly1400/var/cpan/Metadata' Database was generated on Wed, 30 Apr 2014 21:29:02 GMT Running make for D/DO/DOY/Try-Tiny-0.22.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/D/DO/DOY/Try-Tiny-0.22.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/D/DO/DOY/CHECKSUMS Checksum for /home/fly1400/var/cpan/sources/authors/id/D/DO/DOY/Try-Tiny-0.22.tar.gz ok Try-Tiny-0.22 Try-Tiny-0.22/README Try-Tiny-0.22/Changes Try-Tiny-0.22/LICENSE Try-Tiny-0.22/dist.ini Try-Tiny-0.22/t Try-Tiny-0.22/t/when.t Try-Tiny-0.22/META.yml Try-Tiny-0.22/MANIFEST Try-Tiny-0.22/t/named.t Try-Tiny-0.22/t/basic.t Try-Tiny-0.22/META.json Try-Tiny-0.22/t/context.t Try-Tiny-0.22/t/finally.t Try-Tiny-0.22/Makefile.PL Try-Tiny-0.22/maint Try-Tiny-0.22/maint/bench.pl Try-Tiny-0.22/t/given_when.t Try-Tiny-0.22/t/00-compile.t Try-Tiny-0.22/lib/Try Try-Tiny-0.22/lib/Try/Tiny.pm Try-Tiny-0.22/t/lib Try-Tiny-0.22/t/lib/TryUser.pm Try-Tiny-0.22/xt/release Try-Tiny-0.22/xt/release/eol.t Try-Tiny-0.22/t/erroneous_usage.t Try-Tiny-0.22/xt/release/no-tabs.t Try-Tiny-0.22/xt/release/pod-syntax.t Try-Tiny-0.22/xt/release/pod-coverage.t Try-Tiny-0.22/t/global_destruction_load.t Try-Tiny-0.22/t/global_destruction_forked.t CPAN.pm: Building D/DO/DOY/Try-Tiny-0.22.tar.gz >>> /home/fly1400/ap1400/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Try::Tiny Writing MYMETA.yml and MYMETA.json >>> make cp lib/Try/Tiny.pm blib/lib/Try/Tiny.pm Manifying blib/man3/Try::Tiny.3 DOY/Try-Tiny-0.22.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/fly1400/ap1400/bin/perl-static "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ................. 1..1 ok 1 - Try/Tiny.pm loaded ok ok t/basic.t ...................... 1..25 ok 1 - basic try ok 2 - rethrow ok 3 - try block evaluated ok 4 - $@ untouched ok 5 - try block died ok 6 - $@ untouched ok 7 - catch block evaluated ok 8 - $@ untouched ok 9 - scalar context try ok 10 - list context try ok 11 - scalar context catch ok 12 - list context catch ok 13 - Checking catch subroutine scalar reference is correctly blessed ok 14 - Checking finally subroutine scalar reference is correctly blessed ok 15 ok 16 - got here ok 17 - try in try catch block ok 18 - rethrow with try in catch block ok 19 - catch invoked ok 20 ok 21 - $@ untouched ok 22 - $_ untouched ok 23 - previous value of $@ ok 24 - previous value of $@ available for capture ok 25 - previous value of $@ also available in catch block ok t/context.t .................... 1..25 ok 1 - Proper context LIST in try{} ok 2 - Proper VOID context in finally{} 2 ok 3 - Proper VOID context in finally{} 1 ok 4 ok 5 - Proper context LIST in try{} ok 6 - Proper context LIST in catch{} ok 7 - Proper VOID context in finally{} 2 ok 8 - Proper VOID context in finally{} 1 ok 9 ok 10 - Proper context SCALAR in try{} ok 11 - Proper VOID context in finally{} 2 ok 12 - Proper VOID context in finally{} 1 ok 13 ok 14 - Proper context SCALAR in try{} ok 15 - Proper context SCALAR in catch{} ok 16 - Proper VOID context in finally{} 2 ok 17 - Proper VOID context in finally{} 1 ok 18 ok 19 - Proper context VOID in try{} ok 20 - Proper VOID context in finally{} 2 ok 21 - Proper VOID context in finally{} 1 ok 22 - Proper context VOID in try{} ok 23 - Proper context VOID in catch{} ok 24 - Proper VOID context in finally{} 2 ok 25 - Proper VOID context in finally{} 1 ok t/erroneous_usage.t ............ 1..8 ok 1 - Bare catch() detected ok 2 - Bare finally() detected ok 3 - Bare catch()/finally() detected ok 4 - Bare finally()/catch() detected ok 5 - Multi-catch detected ok 6 - Unterminated try detected ok 7 - Bare catch at the end of a function call ok 8 - Bare finally at the end of a function call ok t/finally.t .................... 1..27 ok 1 - Moved into finally from try ok 2 - Error text as expected ok 3 - Into catch block as we died in try ok 4 - Moved into finally from catch ok 5 - Error text as expected ok 6 - Moved into finally from catch ok 7 - Moved into finally block when try throws an exception and we have no catch block ok 8 - Second finally clause run ok 9 - First finally clause run ok 10 - no error reported ok 11 - finally got passed the exception ok 12 - finally called ok 13 - not localized in try ok 14 - nothing in @_ (finally) ok 15 - $_ not localized (finally) ok 16 - same afterwards ok 17 - not localized in try ok 18 - error in @_ (catch) ok 19 - error in $_ (catch) ok 20 - error in @_ (finally) ok 21 - error in @_ (finally) ok 22 - $_ not localized (finally) ok 23 - same afterwards ok 24 - fin 2 called ok 25 - warnings from both fatal finally blocks ok 26 - First warning contains original exception ok 27 - Second warning contains original exception ok t/given_when.t ................. 1..2 ok 1 - error caught not ok 2 - error is also in $_ # TODO perhaps a workaround can be found # Failed (TODO) test 'error is also in $_' # at t/given_when.t line 36. # got: 'foo' # expected: 'blah # ' ok t/global_destruction_forked.t .. 1..3 ok 1 - nested try in cleanup after fork does not maintain outer catch block ok 2 - nested try in cleanup after fork does not maintain outer finally block ok 3 - Didn't just exit ok t/global_destruction_load.t .... 1..3 ok 1 - try gets installed when loading Try::Tiny during global destruction ok 2 - catch gets installed when loading Try::Tiny during global destruction ok 3 - finally gets installed when loading Try::Tiny during global destruction ok t/named.t ...................... 1..3 ok 1 - try name ok 2 - catch name ok 3 - finally name ok t/when.t ....................... 1..5 ok 1 ok 2 - $_ not clobbered ok 3 - bar didn't match ok 4 - foo matched ok 5 - fallback didn't match ok All tests successful. Files=10, Tests=102, 0 wallclock secs ( 0.05 usr 0.00 sys + 0.56 cusr 0.05 csys = 0.66 CPU) Result: PASS DOY/Try-Tiny-0.22.tar.gz make test TEST_VERBOSE=1 -- OK Jesse Luehrs <doy@cpan.org> minimal try/catch with proper preservation of $@ >>> (cd /home/fly1400/var/cpan/build/Try-Tiny-0.22-jziXDw && tar cvf - Try-Tiny-0.22.ppd blib) | gzip -c >/home/fly1400/var/REPO/D/DO/DOY/Try-Tiny-0.22.tar.gz Try-Tiny-0.22.ppd blib/ blib/lib/ blib/lib/Try/ blib/lib/Try/Tiny.pm blib/man3/ blib/man3/Try::Tiny.3 >>> mv /home/fly1400/var/cpan/build/Try-Tiny-0.22-jziXDw/Try-Tiny-0.22.ppd /home/fly1400/var/REPO/D/DO/DOY VmSize: 125120 kB Finished 2014-04-30T16:30:30