summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event
diff options
context:
space:
mode:
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event')
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Bail.pm4
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Diag.pm4
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Encoding.pm4
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Exception.pm4
-rw-r--r--systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Fail.pm4
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Generic.pm4
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Note.pm4
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Ok.pm13
-rw-r--r--systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Pass.pm4
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Plan.pm4
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Skip.pm4
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Subtest.pm4
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/TAP/Version.pm4
-rw-r--r--systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/V2.pm7
-rwxr-xr-xsystems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Waiting.pm4
15 files changed, 40 insertions, 32 deletions
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Bail.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Bail.pm
index 076ac9761d..9b5092def8 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Bail.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Bail.pm
@@ -2,7 +2,7 @@ package Test2::Event::Bail;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
@@ -99,7 +99,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Diag.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Diag.pm
index 9fa732ff4f..fb75235233 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Diag.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Diag.pm
@@ -2,7 +2,7 @@ package Test2::Event::Diag;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
@@ -89,7 +89,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Encoding.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Encoding.pm
index 3fb7364394..831fcebb4d 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Encoding.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Encoding.pm
@@ -2,7 +2,7 @@ package Test2::Event::Encoding;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
use Carp qw/croak/;
@@ -87,7 +87,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Exception.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Exception.pm
index df83ac8714..a02a6012ac 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Exception.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Exception.pm
@@ -2,7 +2,7 @@ package Test2::Event::Exception;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
@@ -103,7 +103,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Fail.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Fail.pm
index f09a035ede..7a1eaa94f2 100644
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Fail.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Fail.pm
@@ -2,7 +2,7 @@ package Test2::Event::Fail;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
use Test2::EventFacet::Info;
@@ -108,7 +108,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Generic.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Generic.pm
index ef08124a16..409fb77bc4 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Generic.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Generic.pm
@@ -5,7 +5,7 @@ use warnings;
use Carp qw/croak/;
use Scalar::Util qw/reftype/;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
use Test2::Util::HashBase;
@@ -270,7 +270,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Note.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Note.pm
index 4a310f3cd1..13613f8c96 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Note.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Note.pm
@@ -2,7 +2,7 @@ package Test2::Event::Note;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
@@ -87,7 +87,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Ok.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Ok.pm
index 088c8b6d4d..d39c1dbf84 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Ok.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Ok.pm
@@ -2,7 +2,7 @@ package Test2::Event::Ok;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
@@ -69,7 +69,14 @@ sub facet_data {
};
if (my @exra_amnesty = $self->extra_amnesty) {
- unshift @{$out->{amnesty}} => @exra_amnesty;
+ my %seen;
+
+ # It is possible the extra amnesty can be a duplicate, so filter it.
+ $out->{amnesty} = [
+ grep { !$seen{defined($_->{tag}) ? $_->{tag} : ''}->{defined($_->{details}) ? $_->{details} : ''}++ }
+ @exra_amnesty,
+ @{$out->{amnesty}},
+ ];
}
return $out;
@@ -152,7 +159,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Pass.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Pass.pm
index bfc3a73b48..b5050459ce 100644
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Pass.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Pass.pm
@@ -2,7 +2,7 @@ package Test2::Event::Pass;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
use Test2::EventFacet::Info;
@@ -104,7 +104,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Plan.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Plan.pm
index ad8f927552..cc9d8049e3 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Plan.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Plan.pm
@@ -2,7 +2,7 @@ package Test2::Event::Plan;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
@@ -159,7 +159,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Skip.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Skip.pm
index a992324355..75d7db1bd8 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Skip.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Skip.pm
@@ -2,7 +2,7 @@ package Test2::Event::Skip;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) }
@@ -117,7 +117,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Subtest.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Subtest.pm
index aed0c0061f..89081fa225 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Subtest.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Subtest.pm
@@ -2,7 +2,7 @@ package Test2::Event::Subtest;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) }
use Test2::Util::HashBase qw{subevents buffered subtest_id subtest_uuid};
@@ -150,7 +150,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/TAP/Version.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/TAP/Version.pm
index b3cb1d8558..bb90cc5f49 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/TAP/Version.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/TAP/Version.pm
@@ -2,7 +2,7 @@ package Test2::Event::TAP::Version;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
use Carp qw/croak/;
@@ -91,7 +91,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/V2.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/V2.pm
index 326a818f1d..accab090d6 100644
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/V2.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/V2.pm
@@ -2,7 +2,7 @@ package Test2::Event::V2;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
use Scalar::Util qw/reftype/;
use Carp qw/croak/;
@@ -33,7 +33,8 @@ sub init {
$self->{+ABOUT}->{uuid} = $uuid;
}
- elsif ($uuid = $self->{+ABOUT}->{uuid}) {
+ elsif ($self->{+ABOUT} && $self->{+ABOUT}->{uuid}) {
+ $uuid = $self->{+ABOUT}->{uuid};
$self->SUPER::set_uuid($uuid);
}
@@ -228,7 +229,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Waiting.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Waiting.pm
index dbd1448584..0f92a910b7 100755
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Waiting.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Test2/Event/Waiting.pm
@@ -2,7 +2,7 @@ package Test2::Event::Waiting;
use strict;
use warnings;
-our $VERSION = '1.302175';
+our $VERSION = '1.302183';
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
@@ -66,7 +66,7 @@ F<http://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
-Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
+Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.