Hello community, here is the log from the commit of package perl-Test-Simple for openSUSE:Factory checked in at 2019-08-19 20:47:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Simple (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Simple.new.22127 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Simple" Mon Aug 19 20:47:18 2019 rev:23 rq:724047 version:1.302166 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Simple/perl-Test-Simple.changes 2019-05-06 21:13:33.588475425 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Test-Simple.new.22127/perl-Test-Simple.changes 2019-08-19 20:47:19.749099235 +0200 @@ -1,0 +2,15 @@ +Fri Aug 16 05:29:49 UTC 2019 - Stephan Kulow <co...@suse.com> + +- updated to 1.302166 + see /usr/share/doc/packages/perl-Test-Simple/Changes + + 1.302166 2019-08-15 10:37:01-07:00 America/Los_Angeles + + - Fix context test on older perls + + 1.302165 2019-08-15 10:21:09-07:00 America/Los_Angeles + + - Better diagnostics when a context is destroyed unexpectedly + - Add an event to notify when END phase starts + +------------------------------------------------------------------- Old: ---- Test-Simple-1.302164.tar.gz New: ---- Test-Simple-1.302166.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Simple.spec ++++++ --- /var/tmp/diff_new_pack.WRQ2vJ/_old 2019-08-19 20:47:20.921098984 +0200 +++ /var/tmp/diff_new_pack.WRQ2vJ/_new 2019-08-19 20:47:20.921098984 +0200 @@ -17,7 +17,7 @@ Name: perl-Test-Simple -Version: 1.302164 +Version: 1.302166 Release: 0 %define cpan_name Test-Simple Summary: Basic utilities for writing tests ++++++ Test-Simple-1.302164.tar.gz -> Test-Simple-1.302166.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/Changes new/Test-Simple-1.302166/Changes --- old/Test-Simple-1.302164/Changes 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/Changes 2019-08-15 19:37:02.000000000 +0200 @@ -1,5 +1,16 @@ +1.302166 2019-08-15 10:37:01-07:00 America/Los_Angeles + + - Fix context test on older perls + +1.302165 2019-08-15 10:21:09-07:00 America/Los_Angeles + + - Better diagnostics when a context is destroyed unexpectedly + - Add an event to notify when END phase starts + 1.302164 2019-04-27 01:43:44-07:00 America/Los_Angeles + - No changes since trial + 1.302163 2019-04-25 05:45:47-07:00 America/Los_Angeles (TRIAL RELEASE) - Do not use threads::Shared in Test::Tester::Capture (#826) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/META.json new/Test-Simple-1.302166/META.json --- old/Test-Simple-1.302164/META.json 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/META.json 2019-08-15 19:37:02.000000000 +0200 @@ -48,7 +48,7 @@ "url" : "http://github.com/Test-More/test-more/" } }, - "version" : "1.302164", + "version" : "1.302166", "x_breaks" : { "Log::Dispatch::Config::TestLog" : "<= 0.02", "Net::BitTorrent" : "<= 0.052", @@ -72,7 +72,7 @@ "Test::UseAllModules" : ">= 0.12, <= 0.14", "Test::Wrapper" : "<= v0.3.0" }, - "x_generated_by_perl" : "v5.28.1", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.08" + "x_generated_by_perl" : "v5.30.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.12" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/META.yml new/Test-Simple-1.302166/META.yml --- old/Test-Simple-1.302164/META.yml 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/META.yml 2019-08-15 19:37:02.000000000 +0200 @@ -22,7 +22,7 @@ resources: bugtracker: http://github.com/Test-More/test-more/issues repository: http://github.com/Test-More/test-more/ -version: '1.302164' +version: '1.302166' x_breaks: Log::Dispatch::Config::TestLog: '<= 0.02' Net::BitTorrent: '<= 0.052' @@ -45,5 +45,5 @@ Test::SharedFork: '<= 0.34' Test::UseAllModules: '>= 0.12, <= 0.14' Test::Wrapper: '<= v0.3.0' -x_generated_by_perl: v5.28.1 +x_generated_by_perl: v5.30.0 x_serialization_backend: 'YAML::Tiny version 1.73' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/Makefile.PL new/Test-Simple-1.302166/Makefile.PL --- old/Test-Simple-1.302164/Makefile.PL 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/Makefile.PL 2019-08-15 19:37:02.000000000 +0200 @@ -23,7 +23,7 @@ "Storable" => 0, "utf8" => 0 }, - "VERSION" => "1.302164", + "VERSION" => "1.302166", "test" => { "TESTS" => "t/*.t t/Legacy/*.t t/Legacy/Bugs/*.t t/Legacy/Builder/*.t t/Legacy/Regression/*.t t/Legacy/Simple/*.t t/Legacy/Test2/*.t t/Legacy/Tester/*.t t/Legacy/subtest/*.t t/Legacy_And_Test2/*.t t/Test2/acceptance/*.t t/Test2/behavior/*.t t/Test2/legacy/*.t t/Test2/modules/*.t t/Test2/modules/API/*.t t/Test2/modules/Event/*.t t/Test2/modules/Event/TAP/*.t t/Test2/modules/EventFacet/*.t t/Test2/modules/Formatter/*.t t/Test2/modules/Hub/*.t t/Test2/modules/Hub/Interceptor/*.t t/Test2/modules/IPC/*.t t/Test2/modules/IPC/Driver/*.t t/Test2/modules/Tools/*.t t/Test2/modules/Util/*.t t/Test2/regression/*.t t/regression/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Builder/Formatter.pm new/Test-Simple-1.302166/lib/Test/Builder/Formatter.pm --- old/Test-Simple-1.302164/lib/Test/Builder/Formatter.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Builder/Formatter.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Formatter::TAP; our @ISA = qw(Test2::Formatter::TAP) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Builder/Module.pm new/Test-Simple-1.302166/lib/Test/Builder/Module.pm --- old/Test-Simple-1.302164/lib/Test/Builder/Module.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Builder/Module.pm 2019-08-15 19:37:02.000000000 +0200 @@ -7,7 +7,7 @@ require Exporter; our @ISA = qw(Exporter); -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; =head1 NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Builder/Tester/Color.pm new/Test-Simple-1.302166/lib/Test/Builder/Tester/Color.pm --- old/Test-Simple-1.302164/lib/Test/Builder/Tester/Color.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Builder/Tester/Color.pm 2019-08-15 19:37:02.000000000 +0200 @@ -1,7 +1,7 @@ package Test::Builder::Tester::Color; use strict; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; require Test::Builder::Tester; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Builder/Tester.pm new/Test-Simple-1.302166/lib/Test/Builder/Tester.pm --- old/Test-Simple-1.302164/lib/Test/Builder/Tester.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Builder/Tester.pm 2019-08-15 19:37:02.000000000 +0200 @@ -1,7 +1,7 @@ package Test::Builder::Tester; use strict; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test::Builder; use Symbol; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Builder/TodoDiag.pm new/Test-Simple-1.302166/lib/Test/Builder/TodoDiag.pm --- old/Test-Simple-1.302164/lib/Test/Builder/TodoDiag.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Builder/TodoDiag.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event::Diag; our @ISA = qw(Test2::Event::Diag) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Builder.pm new/Test-Simple-1.302166/lib/Test/Builder.pm --- old/Test-Simple-1.302164/lib/Test/Builder.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Builder.pm 2019-08-15 19:37:02.000000000 +0200 @@ -4,7 +4,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { if( $] < 5.008 ) { @@ -391,7 +391,7 @@ sub reset { ## no critic (Subroutines::ProhibitBuiltinHomonyms) my ($self, %params) = @_; - Test2::API::test2_set_is_end(0); + Test2::API::test2_unset_is_end(); # We leave this a global because it has to be localized and localizing # hash keys is just asking for pain. Also, it was documented. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/More.pm new/Test-Simple-1.302166/lib/Test/More.pm --- old/Test-Simple-1.302164/lib/Test/More.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/More.pm 2019-08-15 19:37:02.000000000 +0200 @@ -17,7 +17,7 @@ return warn @_, " at $file line $line\n"; } -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test::Builder::Module; our @ISA = qw(Test::Builder::Module); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Simple.pm new/Test-Simple-1.302166/lib/Test/Simple.pm --- old/Test-Simple-1.302164/lib/Test/Simple.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Simple.pm 2019-08-15 19:37:02.000000000 +0200 @@ -4,7 +4,7 @@ use strict; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test::Builder::Module; our @ISA = qw(Test::Builder::Module); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Tester/Capture.pm new/Test-Simple-1.302166/lib/Test/Tester/Capture.pm --- old/Test-Simple-1.302164/lib/Test/Tester/Capture.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Tester/Capture.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ package Test::Tester::Capture; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test::Builder; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Tester/CaptureRunner.pm new/Test-Simple-1.302166/lib/Test/Tester/CaptureRunner.pm --- old/Test-Simple-1.302164/lib/Test/Tester/CaptureRunner.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Tester/CaptureRunner.pm 2019-08-15 19:37:02.000000000 +0200 @@ -3,7 +3,7 @@ package Test::Tester::CaptureRunner; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test::Tester::Capture; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Tester/Delegate.pm new/Test-Simple-1.302166/lib/Test/Tester/Delegate.pm --- old/Test-Simple-1.302164/lib/Test/Tester/Delegate.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Tester/Delegate.pm 2019-08-15 19:37:02.000000000 +0200 @@ -3,7 +3,7 @@ package Test::Tester::Delegate; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Scalar::Util(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/Tester.pm new/Test-Simple-1.302166/lib/Test/Tester.pm --- old/Test-Simple-1.302164/lib/Test/Tester.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/Tester.pm 2019-08-15 19:37:02.000000000 +0200 @@ -18,7 +18,7 @@ use vars qw( @ISA @EXPORT ); -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; @EXPORT = qw( run_tests check_tests check_test cmp_results show_space ); @ISA = qw( Exporter ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test/use/ok.pm new/Test-Simple-1.302166/lib/Test/use/ok.pm --- old/Test-Simple-1.302164/lib/Test/use/ok.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test/use/ok.pm 2019-08-15 19:37:02.000000000 +0200 @@ -1,7 +1,7 @@ package Test::use::ok; use 5.005; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; __END__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/API/Breakage.pm new/Test-Simple-1.302166/lib/Test2/API/Breakage.pm --- old/Test-Simple-1.302164/lib/Test2/API/Breakage.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/API/Breakage.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test2::Util qw/pkg_to_file/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/API/Context.pm new/Test-Simple-1.302166/lib/Test2/API/Context.pm --- old/Test-Simple-1.302164/lib/Test2/API/Context.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/API/Context.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Carp qw/confess croak/; @@ -71,6 +71,8 @@ # show the warning about using eq. no warnings 'uninitialized'; if($self->{+EVAL_ERROR} eq $@ && $hub->is_local) { + require Carp; + my $mess = Carp::longmess("Context destroyed"); my $frame = $self->{+_IS_SPAWN} || $self->{+TRACE}->frame; warn <<" EOT"; A context appears to have been destroyed without first calling release(). @@ -87,6 +89,10 @@ Line: $frame->[2] Tool: $frame->[3] +Here is a trace to the code that caused the context to be destroyed, this could +be an exit(), a goto, or simply the end of a scope: +$mess + Cleaning up the CONTEXT stack... EOT } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/API/Instance.pm new/Test-Simple-1.302166/lib/Test2/API/Instance.pm --- old/Test-Simple-1.302164/lib/Test2/API/Instance.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/API/Instance.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; our @CARP_NOT = qw/Test2::API Test2::API::Instance Test2::IPC::Driver Test2::Formatter/; use Carp qw/confess carp/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/API/Stack.pm new/Test-Simple-1.302166/lib/Test2/API/Stack.pm --- old/Test-Simple-1.302164/lib/Test2/API/Stack.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/API/Stack.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test2::Hub(); @@ -63,6 +63,12 @@ return @$self; } +sub root { + my $self = shift; + return unless @$self; + return $self->[0]; +} + sub clear { my $self = shift; @$self = (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/API.pm new/Test-Simple-1.302166/lib/Test2/API.pm --- old/Test-Simple-1.302164/lib/Test2/API.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/API.pm 2019-08-15 19:37:02.000000000 +0200 @@ -9,14 +9,42 @@ $ENV{TEST2_ACTIVE} = 1; } -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; my $INST; my $ENDING = 0; -sub test2_set_is_end { ($ENDING) = @_ ? @_ : (1) } +sub test2_unset_is_end { $ENDING = 0 } sub test2_get_is_end { $ENDING } +sub test2_set_is_end { + my $before = $ENDING; + ($ENDING) = @_ ? @_ : (1); + + # Only send the event in a transition from false to true + return if $before; + return unless $ENDING; + + return unless $INST; + my $stack = $INST->stack or return; + my $root = $stack->root or return; + + return unless $$ == $INST->pid; + return unless get_tid() == $INST->tid; + + my $trace = Test2::EventFacet::Trace->new( + frame => [__PACKAGE__, __FILE__, __LINE__, __PACKAGE__ . '::test2_set_is_end'], + ); + my $ctx = Test2::API::Context->new( + trace => $trace, + hub => $root, + ); + + $ctx->send_ev2(control => { phase => 'END', details => 'Transition to END phase' }); + + 1; +} + use Test2::API::Instance(\$INST); # Set the exit status @@ -87,6 +115,7 @@ test2_in_preload test2_set_is_end + test2_unset_is_end test2_get_is_end test2_pid diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Bail.pm new/Test-Simple-1.302166/lib/Test2/Event/Bail.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Bail.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Bail.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Diag.pm new/Test-Simple-1.302166/lib/Test2/Event/Diag.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Diag.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Diag.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Encoding.pm new/Test-Simple-1.302166/lib/Test2/Event/Encoding.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Encoding.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Encoding.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Carp qw/croak/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Exception.pm new/Test-Simple-1.302166/lib/Test2/Event/Exception.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Exception.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Exception.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Fail.pm new/Test-Simple-1.302166/lib/Test2/Event/Fail.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Fail.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Fail.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test2::EventFacet::Info; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Generic.pm new/Test-Simple-1.302166/lib/Test2/Event/Generic.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Generic.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Generic.pm 2019-08-15 19:37:02.000000000 +0200 @@ -5,7 +5,7 @@ use Carp qw/croak/; use Scalar::Util qw/reftype/; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } use Test2::Util::HashBase; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Note.pm new/Test-Simple-1.302166/lib/Test2/Event/Note.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Note.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Note.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Ok.pm new/Test-Simple-1.302166/lib/Test2/Event/Ok.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Ok.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Ok.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Pass.pm new/Test-Simple-1.302166/lib/Test2/Event/Pass.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Pass.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Pass.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test2::EventFacet::Info; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Plan.pm new/Test-Simple-1.302166/lib/Test2/Event/Plan.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Plan.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Plan.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Skip.pm new/Test-Simple-1.302166/lib/Test2/Event/Skip.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Skip.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Skip.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Subtest.pm new/Test-Simple-1.302166/lib/Test2/Event/Subtest.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Subtest.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Subtest.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) } use Test2::Util::HashBase qw{subevents buffered subtest_id subtest_uuid}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/TAP/Version.pm new/Test-Simple-1.302166/lib/Test2/Event/TAP/Version.pm --- old/Test-Simple-1.302164/lib/Test2/Event/TAP/Version.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/TAP/Version.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Carp qw/croak/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/V2.pm new/Test-Simple-1.302166/lib/Test2/Event/V2.pm --- old/Test-Simple-1.302164/lib/Test2/Event/V2.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/V2.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Scalar::Util qw/reftype/; use Carp qw/croak/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event/Waiting.pm new/Test-Simple-1.302166/lib/Test2/Event/Waiting.pm --- old/Test-Simple-1.302164/lib/Test2/Event/Waiting.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event/Waiting.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Event.pm new/Test-Simple-1.302166/lib/Test2/Event.pm --- old/Test-Simple-1.302164/lib/Test2/Event.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Event.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Scalar::Util qw/blessed reftype/; use Carp qw/croak/; @@ -526,11 +526,11 @@ Facets are produced by the C<facet_data()> subroutine, which you should nearly-always override. C<facet_data()> is expected to return a hashref where each key is the facet type, and the value is either a hashref with the data for -that facet, or an array of hashref's. Some facets must be defined as single +that facet, or an array of hashrefs. Some facets must be defined as single hashrefs, some must be defined as an array of hashrefs, No facets allow both. C<facet_data()> B<MUST NOT> bless the data it returns, the main hashref, and -nested facet hashref's B<MUST> be bare, though items contained within each +nested facet hashrefs B<MUST> be bare, though items contained within each facet may be blessed. The data returned by this method B<should> also be copies of the internal data in order to prevent accidental state modification. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/About.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/About.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/About.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/About.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } use Test2::Util::HashBase qw{ -package -no_display -uuid -eid }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Amnesty.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Amnesty.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Amnesty.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Amnesty.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; sub is_list { 1 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Assert.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Assert.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Assert.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Assert.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } use Test2::Util::HashBase qw{ -pass -no_debug -number }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Control.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Control.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Control.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Control.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,10 +2,10 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } -use Test2::Util::HashBase qw{ -global -terminate -halt -has_callback -encoding }; +use Test2::Util::HashBase qw{ -global -terminate -halt -has_callback -encoding -phase }; 1; @@ -65,6 +65,13 @@ This can be used to change the encoding from this event onward. +=item $phase = $control->{phase} + +=item $phase = $control->phase() + +Used to signal that a phase change has occurred. Currently only the perl END +phase is signaled. + =back =head1 SOURCE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Error.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Error.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Error.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Error.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; sub facet_key { 'errors' } sub is_list { 1 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Hub.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Hub.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Hub.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Hub.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; sub is_list { 1 } sub facet_key { 'hubs' } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Info/Table.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Info/Table.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Info/Table.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Info/Table.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Carp qw/confess/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Info.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Info.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Info.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Info.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; sub is_list { 1 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Meta.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Meta.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Meta.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Meta.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } use vars qw/$AUTOLOAD/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Parent.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Parent.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Parent.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Parent.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Carp qw/confess/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Plan.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Plan.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Plan.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Plan.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } use Test2::Util::HashBase qw{ -count -skip -none }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Render.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Render.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Render.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Render.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; sub is_list { 1 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet/Trace.pm new/Test-Simple-1.302166/lib/Test2/EventFacet/Trace.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet/Trace.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet/Trace.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/EventFacet.pm new/Test-Simple-1.302166/lib/Test2/EventFacet.pm --- old/Test-Simple-1.302164/lib/Test2/EventFacet.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/EventFacet.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test2::Util::HashBase qw/-details/; use Carp qw/croak/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Formatter/TAP.pm new/Test-Simple-1.302166/lib/Test2/Formatter/TAP.pm --- old/Test-Simple-1.302164/lib/Test2/Formatter/TAP.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Formatter/TAP.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test2::Util qw/clone_io/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Formatter.pm new/Test-Simple-1.302166/lib/Test2/Formatter.pm --- old/Test-Simple-1.302164/lib/Test2/Formatter.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Formatter.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; my %ADDED; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Hub/Interceptor/Terminator.pm new/Test-Simple-1.302166/lib/Test2/Hub/Interceptor/Terminator.pm --- old/Test-Simple-1.302164/lib/Test2/Hub/Interceptor/Terminator.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Hub/Interceptor/Terminator.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Hub/Interceptor.pm new/Test-Simple-1.302166/lib/Test2/Hub/Interceptor.pm --- old/Test-Simple-1.302164/lib/Test2/Hub/Interceptor.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Hub/Interceptor.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test2::Hub::Interceptor::Terminator(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Hub/Subtest.pm new/Test-Simple-1.302166/lib/Test2/Hub/Subtest.pm --- old/Test-Simple-1.302164/lib/Test2/Hub/Subtest.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Hub/Subtest.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::Hub; our @ISA = qw(Test2::Hub) } use Test2::Util::HashBase qw/nested exit_code manual_skip_all/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Hub.pm new/Test-Simple-1.302166/lib/Test2/Hub.pm --- old/Test-Simple-1.302164/lib/Test2/Hub.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Hub.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Carp qw/carp croak confess/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/IPC/Driver/Files.pm new/Test-Simple-1.302166/lib/Test2/IPC/Driver/Files.pm --- old/Test-Simple-1.302164/lib/Test2/IPC/Driver/Files.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/IPC/Driver/Files.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Test2::IPC::Driver; our @ISA = qw(Test2::IPC::Driver) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/IPC/Driver.pm new/Test-Simple-1.302166/lib/Test2/IPC/Driver.pm --- old/Test-Simple-1.302164/lib/Test2/IPC/Driver.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/IPC/Driver.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Carp qw/confess/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/IPC.pm new/Test-Simple-1.302166/lib/Test2/IPC.pm --- old/Test-Simple-1.302164/lib/Test2/IPC.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/IPC.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Test2::API::Instance; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Tools/Tiny.pm new/Test-Simple-1.302166/lib/Test2/Tools/Tiny.pm --- old/Test-Simple-1.302164/lib/Test2/Tools/Tiny.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Tools/Tiny.pm 2019-08-15 19:37:02.000000000 +0200 @@ -16,7 +16,7 @@ use Test2::Hub::Interceptor(); use Test2::Hub::Interceptor::Terminator(); -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; BEGIN { require Exporter; our @ISA = qw(Exporter) } our @EXPORT = qw{ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Util/ExternalMeta.pm new/Test-Simple-1.302166/lib/Test2/Util/ExternalMeta.pm --- old/Test-Simple-1.302164/lib/Test2/Util/ExternalMeta.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Util/ExternalMeta.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Carp qw/croak/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Util/Facets2Legacy.pm new/Test-Simple-1.302166/lib/Test2/Util/Facets2Legacy.pm --- old/Test-Simple-1.302164/lib/Test2/Util/Facets2Legacy.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Util/Facets2Legacy.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use Carp qw/croak confess/; use Scalar::Util qw/blessed/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Util/HashBase.pm new/Test-Simple-1.302166/lib/Test2/Util/HashBase.pm --- old/Test-Simple-1.302164/lib/Test2/Util/HashBase.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Util/HashBase.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; ################################################################# # # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Util/Trace.pm new/Test-Simple-1.302166/lib/Test2/Util/Trace.pm --- old/Test-Simple-1.302164/lib/Test2/Util/Trace.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Util/Trace.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ require Test2::EventFacet::Trace; @ISA = ('Test2::EventFacet::Trace'); -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2/Util.pm new/Test-Simple-1.302166/lib/Test2/Util.pm --- old/Test-Simple-1.302164/lib/Test2/Util.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2/Util.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use POSIX(); use Config qw/%Config/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/Test2.pm new/Test-Simple-1.302166/lib/Test2.pm --- old/Test-Simple-1.302164/lib/Test2.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/Test2.pm 2019-08-15 19:37:02.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/lib/ok.pm new/Test-Simple-1.302166/lib/ok.pm --- old/Test-Simple-1.302164/lib/ok.pm 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/lib/ok.pm 2019-08-15 19:37:02.000000000 +0200 @@ -1,5 +1,5 @@ package ok; -our $VERSION = '1.302164'; +our $VERSION = '1.302166'; use strict; use Test::More (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/t/Test2/modules/API/Context.t new/Test-Simple-1.302166/t/Test2/modules/API/Context.t --- old/Test-Simple-1.302164/t/Test2/modules/API/Context.t 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/t/Test2/modules/API/Context.t 2019-08-15 19:37:02.000000000 +0200 @@ -477,4 +477,30 @@ }->(); +sub ctx_destroy_test { + my (undef, undef, $line1) = caller(); + my (@warn, $line2); + local $SIG{__WARN__} = sub { push @warn => $_[0] }; + + { my $ctx = context(); $ctx = undef } $line2 = __LINE__; + + use Data::Dumper; +# print Dumper(@warn); + + like($warn[0], qr/context appears to have been destroyed without first calling release/, "Is normal context warning"); + like($warn[0], qr{\QContext destroyed at ${ \__FILE__ } line $line2\E}, "Reported context destruction trace"); + + my $created = <<" EOT"; +Here are the context creation details, just in case a tool forgot to call +release(): + File: ${ \__FILE__ } + Line: $line1 + Tool: main::ctx_destroy_test + EOT + + like($warn[0], qr{\Q$created\E}, "Reported context creation details"); +}; + +ctx_destroy_test(); + done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.302164/t/regression/errors_facet.t new/Test-Simple-1.302166/t/regression/errors_facet.t --- old/Test-Simple-1.302164/t/regression/errors_facet.t 2019-04-27 10:43:45.000000000 +0200 +++ new/Test-Simple-1.302166/t/regression/errors_facet.t 2019-08-15 19:37:02.000000000 +0200 @@ -14,7 +14,7 @@ my $out = $self->common_facet_data; - $out->{errors} = [{tag => 'OOPS', fail => !$ENV{FAILURE_DO_PASS}, details => "An error occured"}]; + $out->{errors} = [{tag => 'OOPS', fail => !$ENV{FAILURE_DO_PASS}, details => "An error occurred"}]; return $out; }