This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Sync Test-Simple with CPAN version 1.302175
authorChad Granum <exodist7@gmail.com>
Tue, 28 Apr 2020 16:59:23 +0000 (12:59 -0400)
committerJames E Keenan <jkeenan@cpan.org>
Tue, 28 Apr 2020 16:59:23 +0000 (12:59 -0400)
Okayed as code freeze exception per discussion with pumpking.

68 files changed:
Porting/Maintainers.pl
cpan/Test-Simple/lib/Test/Builder.pm
cpan/Test-Simple/lib/Test/Builder/Formatter.pm
cpan/Test-Simple/lib/Test/Builder/Module.pm
cpan/Test-Simple/lib/Test/Builder/Tester.pm
cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm
cpan/Test-Simple/lib/Test/Builder/TodoDiag.pm
cpan/Test-Simple/lib/Test/More.pm
cpan/Test-Simple/lib/Test/Simple.pm
cpan/Test-Simple/lib/Test/Tester.pm
cpan/Test-Simple/lib/Test/Tester/Capture.pm
cpan/Test-Simple/lib/Test/Tester/CaptureRunner.pm
cpan/Test-Simple/lib/Test/Tester/Delegate.pm
cpan/Test-Simple/lib/Test/use/ok.pm
cpan/Test-Simple/lib/Test2.pm
cpan/Test-Simple/lib/Test2/API.pm
cpan/Test-Simple/lib/Test2/API/Breakage.pm
cpan/Test-Simple/lib/Test2/API/Context.pm
cpan/Test-Simple/lib/Test2/API/Instance.pm
cpan/Test-Simple/lib/Test2/API/Stack.pm
cpan/Test-Simple/lib/Test2/Event.pm
cpan/Test-Simple/lib/Test2/Event/Bail.pm
cpan/Test-Simple/lib/Test2/Event/Diag.pm
cpan/Test-Simple/lib/Test2/Event/Encoding.pm
cpan/Test-Simple/lib/Test2/Event/Exception.pm
cpan/Test-Simple/lib/Test2/Event/Fail.pm
cpan/Test-Simple/lib/Test2/Event/Generic.pm
cpan/Test-Simple/lib/Test2/Event/Note.pm
cpan/Test-Simple/lib/Test2/Event/Ok.pm
cpan/Test-Simple/lib/Test2/Event/Pass.pm
cpan/Test-Simple/lib/Test2/Event/Plan.pm
cpan/Test-Simple/lib/Test2/Event/Skip.pm
cpan/Test-Simple/lib/Test2/Event/Subtest.pm
cpan/Test-Simple/lib/Test2/Event/TAP/Version.pm
cpan/Test-Simple/lib/Test2/Event/V2.pm
cpan/Test-Simple/lib/Test2/Event/Waiting.pm
cpan/Test-Simple/lib/Test2/EventFacet.pm
cpan/Test-Simple/lib/Test2/EventFacet/About.pm
cpan/Test-Simple/lib/Test2/EventFacet/Amnesty.pm
cpan/Test-Simple/lib/Test2/EventFacet/Assert.pm
cpan/Test-Simple/lib/Test2/EventFacet/Control.pm
cpan/Test-Simple/lib/Test2/EventFacet/Error.pm
cpan/Test-Simple/lib/Test2/EventFacet/Hub.pm
cpan/Test-Simple/lib/Test2/EventFacet/Info.pm
cpan/Test-Simple/lib/Test2/EventFacet/Info/Table.pm
cpan/Test-Simple/lib/Test2/EventFacet/Meta.pm
cpan/Test-Simple/lib/Test2/EventFacet/Parent.pm
cpan/Test-Simple/lib/Test2/EventFacet/Plan.pm
cpan/Test-Simple/lib/Test2/EventFacet/Render.pm
cpan/Test-Simple/lib/Test2/EventFacet/Trace.pm
cpan/Test-Simple/lib/Test2/Formatter.pm
cpan/Test-Simple/lib/Test2/Formatter/TAP.pm
cpan/Test-Simple/lib/Test2/Hub.pm
cpan/Test-Simple/lib/Test2/Hub/Interceptor.pm
cpan/Test-Simple/lib/Test2/Hub/Interceptor/Terminator.pm
cpan/Test-Simple/lib/Test2/Hub/Subtest.pm
cpan/Test-Simple/lib/Test2/IPC.pm
cpan/Test-Simple/lib/Test2/IPC/Driver.pm
cpan/Test-Simple/lib/Test2/IPC/Driver/Files.pm
cpan/Test-Simple/lib/Test2/Tools/Tiny.pm
cpan/Test-Simple/lib/Test2/Util.pm
cpan/Test-Simple/lib/Test2/Util/ExternalMeta.pm
cpan/Test-Simple/lib/Test2/Util/Facets2Legacy.pm
cpan/Test-Simple/lib/Test2/Util/HashBase.pm
cpan/Test-Simple/lib/Test2/Util/Trace.pm
cpan/Test-Simple/lib/ok.pm
cpan/Test-Simple/t/Legacy/Tester/tbt_09do.t
cpan/Test-Simple/t/Test2/modules/API/Breakage.t

index 79efda5..45bbf01 100755 (executable)
@@ -1057,7 +1057,7 @@ use File::Glob qw(:case);
     },
 
     'Test::Simple' => {
     },
 
     'Test::Simple' => {
-        'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302173.tar.gz',
+        'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302175.tar.gz',
         'FILES'        => q[cpan/Test-Simple],
         'EXCLUDED'     => [
             qr{^examples/},
         'FILES'        => q[cpan/Test-Simple],
         'EXCLUDED'     => [
             qr{^examples/},
index f388201..1a49b7a 100644 (file)
@@ -4,7 +4,7 @@ use 5.006;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN {
     if( $] < 5.008 ) {
 
 BEGIN {
     if( $] < 5.008 ) {
index f55b5fa..ab405ca 100644 (file)
@@ -2,7 +2,7 @@ package Test::Builder::Formatter;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::Formatter::TAP; our @ISA = qw(Test2::Formatter::TAP) }
 
 
 BEGIN { require Test2::Formatter::TAP; our @ISA = qw(Test2::Formatter::TAP) }
 
index e7a6a00..6e550eb 100644 (file)
@@ -7,7 +7,7 @@ use Test::Builder;
 require Exporter;
 our @ISA = qw(Exporter);
 
 require Exporter;
 our @ISA = qw(Exporter);
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 =head1 NAME
 
 
 =head1 NAME
index b7d2b6c..da98e3d 100644 (file)
@@ -1,7 +1,7 @@
 package Test::Builder::Tester;
 
 use strict;
 package Test::Builder::Tester;
 
 use strict;
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Test::Builder;
 use Symbol;
 
 use Test::Builder;
 use Symbol;
index 0a16bd8..116e605 100644 (file)
@@ -1,7 +1,7 @@
 package Test::Builder::Tester::Color;
 
 use strict;
 package Test::Builder::Tester::Color;
 
 use strict;
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 require Test::Builder::Tester;
 
 
 require Test::Builder::Tester;
 
index 681af1d..b69ca25 100644 (file)
@@ -2,7 +2,7 @@ package Test::Builder::TodoDiag;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::Event::Diag; our @ISA = qw(Test2::Event::Diag) }
 
 
 BEGIN { require Test2::Event::Diag; our @ISA = qw(Test2::Event::Diag) }
 
index f5ddac5..b2f8228 100644 (file)
@@ -17,7 +17,7 @@ sub _carp {
     return warn @_, " at $file line $line\n";
 }
 
     return warn @_, " at $file line $line\n";
 }
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Test::Builder::Module;
 our @ISA    = qw(Test::Builder::Module);
 
 use Test::Builder::Module;
 our @ISA    = qw(Test::Builder::Module);
@@ -1848,7 +1848,7 @@ might get a "Wide character in print" warning.  Using
 C<< binmode STDOUT, ":utf8" >> will not fix it.
 L<Test::Builder> (which powers
 Test::More) duplicates STDOUT and STDERR.  So any changes to them,
 C<< binmode STDOUT, ":utf8" >> will not fix it.
 L<Test::Builder> (which powers
 Test::More) duplicates STDOUT and STDERR.  So any changes to them,
-including changing their output disciplines, will not be seem by
+including changing their output disciplines, will not be seen by
 Test::More.
 
 One work around is to apply encodings to STDOUT and STDERR as early
 Test::More.
 
 One work around is to apply encodings to STDOUT and STDERR as early
index 0f181b3..6ff8183 100644 (file)
@@ -4,7 +4,7 @@ use 5.006;
 
 use strict;
 
 
 use strict;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Test::Builder::Module;
 our @ISA    = qw(Test::Builder::Module);
 
 use Test::Builder::Module;
 our @ISA    = qw(Test::Builder::Module);
index 6e652f2..1cc7bd1 100644 (file)
@@ -18,7 +18,7 @@ require Exporter;
 
 use vars qw( @ISA @EXPORT );
 
 
 use vars qw( @ISA @EXPORT );
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 @EXPORT = qw( run_tests check_tests check_test cmp_results show_space );
 @ISA = qw( Exporter );
 
 @EXPORT = qw( run_tests check_tests check_test cmp_results show_space );
 @ISA = qw( Exporter );
index c79910a..c5c4542 100644 (file)
@@ -2,7 +2,7 @@ use strict;
 
 package Test::Tester::Capture;
 
 
 package Test::Tester::Capture;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 use Test::Builder;
 
 
 use Test::Builder;
index ba742c4..a86ef06 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 
 package Test::Tester::CaptureRunner;
 
 
 package Test::Tester::CaptureRunner;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 use Test::Tester::Capture;
 
 
 use Test::Tester::Capture;
index 678869a..2036f2e 100644 (file)
@@ -3,7 +3,7 @@ use warnings;
 
 package Test::Tester::Delegate;
 
 
 package Test::Tester::Delegate;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Scalar::Util();
 
 
 use Scalar::Util();
 
index a817347..4113ef5 100644 (file)
@@ -1,7 +1,7 @@
 package Test::use::ok;
 use 5.005;
 
 package Test::use::ok;
 use 5.005;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 __END__
 
 
 __END__
index 03128a5..d915631 100644 (file)
@@ -2,7 +2,7 @@ package Test2;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 1;
 
 
 1;
index fa8a908..6c51741 100644 (file)
@@ -9,7 +9,7 @@ BEGIN {
     $ENV{TEST2_ACTIVE} = 1;
 }
 
     $ENV{TEST2_ACTIVE} = 1;
 }
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 my $INST;
 
 
 my $INST;
index c6fd7da..2dd2852 100644 (file)
@@ -2,7 +2,7 @@ package Test2::API::Breakage;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 use Test2::Util qw/pkg_to_file/;
 
 
 use Test2::Util qw/pkg_to_file/;
@@ -73,7 +73,9 @@ sub report {
         next unless $INC{$file} || ($require && eval { require $file; 1 });
         my $want = $suggest{$mod};
         next if eval { $mod->VERSION($want); 1 };
         next unless $INC{$file} || ($require && eval { require $file; 1 });
         my $want = $suggest{$mod};
         next if eval { $mod->VERSION($want); 1 };
-        push @warn => " * Module '$mod' is outdated, we recommend updating above $want.";
+        my $error = $@;
+        chomp $error;
+        push @warn => " * Module '$mod' is outdated, we recommed updating above $want. error was: '$error'; INC is $INC{$file}";
     }
 
     for my $mod (keys %required) {
     }
 
     for my $mod (keys %required) {
index 2c783ff..177d9c4 100644 (file)
@@ -2,7 +2,7 @@ package Test2::API::Context;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 use Carp qw/confess croak/;
 
 
 use Carp qw/confess croak/;
index b95924b..fbbb675 100644 (file)
@@ -2,7 +2,7 @@ package Test2::API::Instance;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 our @CARP_NOT = qw/Test2::API Test2::API::Instance Test2::IPC::Driver Test2::Formatter/;
 use Carp qw/confess carp/;
 
 our @CARP_NOT = qw/Test2::API Test2::API::Instance Test2::IPC::Driver Test2::Formatter/;
 use Carp qw/confess carp/;
index dea926c..d6b6e85 100644 (file)
@@ -2,7 +2,7 @@ package Test2::API::Stack;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 use Test2::Hub();
 
 
 use Test2::Hub();
index e83b2bc..e1c567a 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Scalar::Util qw/blessed reftype/;
 use Carp qw/croak/;
 
 use Scalar::Util qw/blessed reftype/;
 use Carp qw/croak/;
index 9073203..076ac97 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Bail;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
index 6480375..9fa732f 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Diag;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
index ad648fd..3fb7364 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Encoding;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Carp qw/croak/;
 
 
 use Carp qw/croak/;
 
index 5203b31..df83ac8 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Exception;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
index f1c5ae8..f09a035 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Fail;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Test2::EventFacet::Info;
 
 
 use Test2::EventFacet::Info;
 
index 20db0aa..ef08124 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 use Carp qw/croak/;
 use Scalar::Util qw/reftype/;
 
 use Carp qw/croak/;
 use Scalar::Util qw/reftype/;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
 use Test2::Util::HashBase;
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
 use Test2::Util::HashBase;
index 2bc513f..4a310f3 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Note;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
index 222cedb..088c8b6 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Ok;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
index cf9e2d6..bfc3a73 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Pass;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Test2::EventFacet::Info;
 
 
 use Test2::EventFacet::Info;
 
index 04fa5bf..ad8f927 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Plan;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
index 96be3a9..a992324 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Skip;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) }
 
 
 BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) }
index 6fc3ca5..aed0c00 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Subtest;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) }
 use Test2::Util::HashBase qw{subevents buffered subtest_id subtest_uuid};
 
 BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) }
 use Test2::Util::HashBase qw{subevents buffered subtest_id subtest_uuid};
index ec52835..b3cb1d8 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::TAP::Version;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Carp qw/croak/;
 
 
 use Carp qw/croak/;
 
index 0569aba..326a818 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::V2;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Scalar::Util qw/reftype/;
 use Carp qw/croak/;
 
 use Scalar::Util qw/reftype/;
 use Carp qw/croak/;
index a21755e..dbd1448 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Event::Waiting;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
 
 
 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
index 0358fc5..13c217f 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Test2::Util::HashBase qw/-details/;
 use Carp qw/croak/;
 
 use Test2::Util::HashBase qw/-details/;
 use Carp qw/croak/;
index 7eb865f..f12ebf8 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::About;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 use Test2::Util::HashBase qw{ -package -no_display -uuid -eid };
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 use Test2::Util::HashBase qw{ -package -no_display -uuid -eid };
index 025677f..45ed927 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Amnesty;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 sub is_list { 1 }
 
 
 sub is_list { 1 }
 
index b0c7cf5..02f89af 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Assert;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 use Test2::Util::HashBase qw{ -pass -no_debug -number };
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 use Test2::Util::HashBase qw{ -pass -no_debug -number };
index 535d39f..8a04a4a 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Control;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 use Test2::Util::HashBase qw{ -global -terminate -halt -has_callback -encoding -phase };
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 use Test2::Util::HashBase qw{ -global -terminate -halt -has_callback -encoding -phase };
index a680c95..87baf11 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Error;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 sub facet_key { 'errors' }
 sub is_list { 1 }
 
 sub facet_key { 'errors' }
 sub is_list { 1 }
index 6402348..3701425 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Hub;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 sub is_list { 1 }
 sub facet_key { 'hubs' }
 
 sub is_list { 1 }
 sub facet_key { 'hubs' }
index 5fe56cd..badd2d0 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Info;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 sub is_list { 1 }
 
 
 sub is_list { 1 }
 
index b7acc80..0c127b5 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Info::Table;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Carp qw/confess/;
 
 
 use Carp qw/confess/;
 
index da42f3d..2b75764 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Meta;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 use vars qw/$AUTOLOAD/;
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 use vars qw/$AUTOLOAD/;
index 670825c..ac26737 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Parent;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Carp qw/confess/;
 
 
 use Carp qw/confess/;
 
index 0b49cf6..355588b 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Plan;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 use Test2::Util::HashBase qw{ -count -skip -none };
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 use Test2::Util::HashBase qw{ -count -skip -none };
index d6943a1..13fe4cb 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Render;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 sub is_list { 1 }
 
 
 sub is_list { 1 }
 
index 1c5f435..455b0ee 100644 (file)
@@ -2,7 +2,7 @@ package Test2::EventFacet::Trace;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 
 
 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
 
index a3c9ea3..17c28bf 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Formatter;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 my %ADDED;
 
 
 my %ADDED;
index 72f043e..120c82d 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Formatter::TAP;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Test2::Util qw/clone_io/;
 
 
 use Test2::Util qw/clone_io/;
 
index d220769..e041f6d 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Hub;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 use Carp qw/carp croak confess/;
 
 
 use Carp qw/carp croak confess/;
@@ -813,7 +813,7 @@ Get the IPC object used by the hub.
 
 This can be used to disable auto-ending behavior for a hub. The auto-ending
 behavior is triggered by an end block and is used to cull IPC events, and
 
 This can be used to disable auto-ending behavior for a hub. The auto-ending
 behavior is triggered by an end block and is used to cull IPC events, and
-output the final plan if the plan was 'no_plan'.
+output the final plan if the plan was 'NO PLAN'.
 
 =item $bool = $hub->active
 
 
 =item $bool = $hub->active
 
@@ -861,7 +861,7 @@ pass/fail status.
 =item $plan = $hub->plan
 
 Get or set the plan. The plan must be an integer larger than 0, the string
 =item $plan = $hub->plan
 
 Get or set the plan. The plan must be an integer larger than 0, the string
-'no_plan', or the string 'skip_all'.
+'NO PLAN', or the string 'SKIP'.
 
 =item $bool = $hub->check_plan
 
 
 =item $bool = $hub->check_plan
 
index 007999c..317dfa8 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Hub::Interceptor;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 use Test2::Hub::Interceptor::Terminator();
 
 
 use Test2::Hub::Interceptor::Terminator();
index b11c705..906e7b0 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Hub::Interceptor::Terminator;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 1;
 
 
 1;
index 7c91260..acc6369 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Hub::Subtest;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::Hub; our @ISA = qw(Test2::Hub) }
 use Test2::Util::HashBase qw/nested exit_code manual_skip_all/;
 
 BEGIN { require Test2::Hub; our @ISA = qw(Test2::Hub) }
 use Test2::Util::HashBase qw/nested exit_code manual_skip_all/;
index 2a68bb9..e9d29cc 100644 (file)
@@ -2,7 +2,7 @@ package Test2::IPC;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 use Test2::API::Instance;
 
 
 use Test2::API::Instance;
index 012d943..db6642a 100644 (file)
@@ -2,7 +2,7 @@ package Test2::IPC::Driver;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 use Carp qw/confess/;
 
 
 use Carp qw/confess/;
index e0e0f27..09fdd5c 100644 (file)
@@ -2,7 +2,7 @@ package Test2::IPC::Driver::Files;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Test2::IPC::Driver; our @ISA = qw(Test2::IPC::Driver) }
 
 
 BEGIN { require Test2::IPC::Driver; our @ISA = qw(Test2::IPC::Driver) }
 
@@ -129,10 +129,22 @@ sub drop_hub {
 
     return unless keys %bad;
 
 
     return unless keys %bad;
 
-    require JSON::PP;
-    local *UNIVERSAL::TO_JSON = sub { +{ %{$_[0]} } };
-    my $json = JSON::PP->new->ascii->pretty->canonical->allow_unknown->allow_blessed->convert_blessed;
-    my $data = $json->encode(\%bad);
+    my $data;
+    my $ok = eval {
+        require JSON::PP;
+        local *UNIVERSAL::TO_JSON = sub { +{ %{$_[0]} } };
+        my $json = JSON::PP->new->ascii->pretty->canonical->allow_unknown->allow_blessed->convert_blessed;
+        $data = $json->encode(\%bad);
+        1;
+    };
+    $ok ||= eval {
+        require Data::Dumper;
+        local $Data::Dumper::Sortkeys = 1;
+        $data = Data::Dumper::Dumper(\%bad);
+        1;
+    };
+
+    $data = "Could not dump data... sorry." unless defined $data;
 
     $self->abort_trace("Not all files from hub '$hid' have been collected!\nHere is the leftover data:\n========================\n$data\n===================\n");
 }
 
     $self->abort_trace("Not all files from hub '$hid' have been collected!\nHere is the leftover data:\n========================\n$data\n===================\n");
 }
index a38843c..5139e46 100644 (file)
@@ -16,7 +16,7 @@ use Test2::API qw/context run_subtest test2_stack/;
 use Test2::Hub::Interceptor();
 use Test2::Hub::Interceptor::Terminator();
 
 use Test2::Hub::Interceptor();
 use Test2::Hub::Interceptor::Terminator();
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 BEGIN { require Exporter; our @ISA = qw(Exporter) }
 our @EXPORT = qw{
 
 BEGIN { require Exporter; our @ISA = qw(Exporter) }
 our @EXPORT = qw{
index 1fd5390..0ba4995 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Util;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use POSIX();
 use Config qw/%Config/;
 
 use POSIX();
 use Config qw/%Config/;
index a23d42c..90345d0 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Util::ExternalMeta;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 
 use Carp qw/croak/;
 
 
 use Carp qw/croak/;
index cdd62bd..4bcee18 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Util::Facets2Legacy;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use Carp qw/croak confess/;
 use Scalar::Util qw/blessed/;
 
 use Carp qw/croak confess/;
 use Scalar::Util qw/blessed/;
index 45a4aa2..a6a04f9 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Util::HashBase;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 #################################################################
 #                                                               #
 
 #################################################################
 #                                                               #
index 06fdc61..33b3648 100644 (file)
@@ -2,7 +2,7 @@ package Test2::Util::Trace;
 require Test2::EventFacet::Trace;
 @ISA = ('Test2::EventFacet::Trace');
 
 require Test2::EventFacet::Trace;
 @ISA = ('Test2::EventFacet::Trace');
 
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 1;
 
 
 1;
 
index 2c8b023..f3b394d 100644 (file)
@@ -1,5 +1,5 @@
 package ok;
 package ok;
-our $VERSION = '1.302173';
+our $VERSION = '1.302175';
 
 use strict;
 use Test::More ();
 
 use strict;
 use Test::More ();
index 87e1a54..6b25525 100644 (file)
@@ -9,7 +9,7 @@ use File::Basename qw(dirname);
 use File::Spec qw();
 
 my $file = File::Spec->join(dirname(__FILE__), 'tbt_09do_script.pl');
 use File::Spec qw();
 
 my $file = File::Spec->join(dirname(__FILE__), 'tbt_09do_script.pl');
-$file = File::Spec->catfile(File::Spec->curdir(), $file)
+$file = File::Spec->rel2abs(File::Spec->catfile(File::Spec->curdir(), $file))
     unless File::Spec->file_name_is_absolute($file);
 my $done = do $file;
 ok(defined($done), 'do succeeded') or do {
     unless File::Spec->file_name_is_absolute($file);
 my $done = do $file;
 ok(defined($done), 'do succeeded') or do {
index f5af6c5..26d01b8 100644 (file)
@@ -33,12 +33,12 @@ for my $meth (qw/upgrade_suggested upgrade_required known_broken/) {
     {
         local %INC = (
             %INC,
     {
         local %INC = (
             %INC,
-            'T2Test/UG1.pm' => 1,
-            'T2Test/UG2.pm' => 1,
-            'T2Test/UR1.pm' => 1,
-            'T2Test/UR2.pm' => 1,
-            'T2Test/KB1.pm' => 1,
-            'T2Test/KB2.pm' => 1,
+            'T2Test/UG1.pm' => 'T2Test/UG1.pm',
+            'T2Test/UG2.pm' => 'T2Test/UG2.pm',
+            'T2Test/UR1.pm' => 'T2Test/UR1.pm',
+            'T2Test/UR2.pm' => 'T2Test/UR2.pm',
+            'T2Test/KB1.pm' => 'T2Test/KB1.pm',
+            'T2Test/KB2.pm' => 'T2Test/KB2.pm',
         );
         local $T2Test::UG1::VERSION = '0.9';
         local $T2Test::UG2::VERSION = '0.9';
         );
         local $T2Test::UG1::VERSION = '0.9';
         local $T2Test::UG2::VERSION = '0.9';
@@ -49,14 +49,16 @@ for my $meth (qw/upgrade_suggested upgrade_required known_broken/) {
 
         my @report = $CLASS->report;
 
 
         my @report = $CLASS->report;
 
+        $_ =~ s{\S+/Breakage\.pm}{Breakage.pm}g for @report;
+
         is_deeply(
             [sort @report],
             [
                 sort
         is_deeply(
             [sort @report],
             [
                 sort
-                " * Module 'T2Test::UG1' is outdated, we recommend updating above 1.0.",
                 " * Module 'T2Test::UR1' is outdated and known to be broken, please update to 1.0 or higher.",
                 " * Module 'T2Test::KB1' is known to be broken in version 1.0 and below, newer versions have not been tested. You have: 0.9",
                 " * Module 'T2Test::KB2' is known to be broken in version 0.5 and below, newer versions have not been tested. You have: 0.9",
                 " * Module 'T2Test::UR1' is outdated and known to be broken, please update to 1.0 or higher.",
                 " * Module 'T2Test::KB1' is known to be broken in version 1.0 and below, newer versions have not been tested. You have: 0.9",
                 " * Module 'T2Test::KB2' is known to be broken in version 0.5 and below, newer versions have not been tested. You have: 0.9",
+                " * Module 'T2Test::UG1' is outdated, we recommed updating above 1.0. error was: 'T2Test::UG1 version 1.0 required--this is only version 0.9 at Breakage.pm line 75.'; INC is T2Test/UG1.pm",
             ],
             "Got expected report items"
         );
             ],
             "Got expected report items"
         );