Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit df4a80c

Browse files
committed
Test-Harness-3.42_01
1 parent 6a3575d commit df4a80c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+449
-184
lines changed

MANIFEST

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2727,6 +2727,7 @@ cpan/Test-Harness/t/prove.t Test::Harness test
27272727
cpan/Test-Harness/t/proveversion.t Test::Harness test
27282728
cpan/Test-Harness/t/regression.t Test::Harness test
27292729
cpan/Test-Harness/t/results.t Test::Harness test
2730+
cpan/Test-Harness/t/rulesfile.t
27302731
cpan/Test-Harness/t/sample-tests/bailout Test data for Test::Harness
27312732
cpan/Test-Harness/t/sample-tests/bignum Test data for Test::Harness
27322733
cpan/Test-Harness/t/sample-tests/bignum_many Test data for Test::Harness
@@ -2768,6 +2769,7 @@ cpan/Test-Harness/t/sample-tests/skipall_nomsg Test data for Test::Harness
27682769
cpan/Test-Harness/t/sample-tests/skipall_v13 Test data for Test::Harness
27692770
cpan/Test-Harness/t/sample-tests/skip_nomsg Test data for Test::Harness
27702771
cpan/Test-Harness/t/sample-tests/space_after_plan Test data for Test::Harness
2772+
cpan/Test-Harness/t/sample-tests/space_after_plan_v13
27712773
cpan/Test-Harness/t/sample-tests/stdout_stderr Test data for Test::Harness
27722774
cpan/Test-Harness/t/sample-tests/strict Test data for Test::Harness
27732775
cpan/Test-Harness/t/sample-tests/switches Test data for Test::Harness
@@ -2800,6 +2802,7 @@ cpan/Test-Harness/t/source_tests/source.pl Test::Harness test
28002802
cpan/Test-Harness/t/source_tests/source.sh Test::Harness test
28012803
cpan/Test-Harness/t/source_tests/source.t Test::Harness test
28022804
cpan/Test-Harness/t/source_tests/source.tap Test::Harness test
2805+
cpan/Test-Harness/t/source_tests/test.tap
28032806
cpan/Test-Harness/t/spool.t Test::Harness test
28042807
cpan/Test-Harness/t/state_results.t Test::Harness test
28052808
cpan/Test-Harness/t/state.t Test::Harness test

Porting/Maintainers.pl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,8 +1319,9 @@ package Maintainers;
13191319
'FILES' => q[dist/Test],
13201320
},
13211321

1322+
# see https://github.com/rurban/Test-Harness/commits/cperl-rebased
13221323
'Test::Harness' => {
1323-
'DISTRIBUTION' => 'LEONT/Test-Harness-3.39.tar.gz',
1324+
'DISTRIBUTION' => 'LEONT/Test-Harness-3.42.tar.gz',
13241325
'FILES' => q[cpan/Test-Harness],
13251326
'EXCLUDED' => [
13261327
qr{^examples/},
@@ -1338,13 +1339,18 @@ package Maintainers;
13381339
),
13391340
],
13401341
# with compiled Config
1342+
# insensitive to HARNESS_VERBOSE
13411343
'CUSTOMIZED' => [
13421344
qw( t/multiplexer.t
13431345
t/nofork.t
13441346
t/regression.t
13451347
t/sample-tests/switches
13461348
t/source_handler.t
13471349
t/lib/NoFork.pm
1350+
t/regression.t
1351+
1352+
t/compat/env.t
1353+
t/compat/inc-propagation.t
13481354
)],
13491355
},
13501356

Porting/exec-bit.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ cpan/Devel-NYTProf/bin/nytprofcsv
2424
cpan/Devel-NYTProf/bin/nytprofhtml
2525
cpan/Devel-NYTProf/bin/nytprofmerge
2626
cpan/Devel-NYTProf/bin/nytprofpf
27+
cpan/Test-Harness/bin/prove
2728
cpan/Test-Harness/t/source_tests/source.sh
2829
cpan/Test-Harness/t/source_tests/source_args.sh
2930
cpan/YAML-LibYAML/LibYAML/update.sh

cpan/Test-Harness/bin/prove

100644100755
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ Options that take arguments:
7272
-a, --archive out.tgz Store the resulting TAP in an archive file.
7373
-j, --jobs N Run N test jobs in parallel (try 9.)
7474
--state=opts Control prove's persistent state.
75+
--statefile=file Use `file` instead of `.prove` for state
7576
--rc=rcfile Process options from rcfile
7677
--rules Rules for parallel vs sequential processing.
7778

@@ -109,12 +110,12 @@ matching the pattern C<t/*.t>.
109110

110111
=head2 Colored Test Output
111112

112-
Colored test output using L<TAP::Formatter::Color> is the default, but
113-
if output is not to a terminal, color is disabled. You can override this by
113+
Colored test output using L<TAP::Formatter::Color> is the default, but
114+
if output is not to a terminal, color is disabled. You can override this by
114115
adding the C<--color> switch.
115116

116-
Color support requires L<Term::ANSIColor> on Unix-like platforms and
117-
L<Win32::Console> on windows. If the necessary module is not installed
117+
Color support requires L<Term::ANSIColor> and, on windows platforms, also
118+
L<Win32::Console::ANSI>. If the necessary module(s) are not installed
118119
colored output will not be available.
119120

120121
=head2 Exit Code

cpan/Test-Harness/lib/App/Prove.pm

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ App::Prove - Implements the C<prove> command.
1818
1919
=head1 VERSION
2020
21-
Version 3.39
21+
Version 3.42_01
2222
2323
=cut
2424

25-
our $VERSION = '3.39';
25+
our $VERSION = '3.42_01';
2626

2727
=head1 DESCRIPTION
2828
@@ -59,6 +59,7 @@ BEGIN {
5959
verbose warnings_fail warnings_warn show_help show_man show_version
6060
state_class test_args state dry extensions ignore_exit rules state_manager
6161
normalize sources tapversion trap
62+
statefile
6263
);
6364
__PACKAGE__->mk_methods(@ATTR);
6465
}
@@ -229,6 +230,7 @@ sub process_args {
229230
'M=s@' => $self->{modules},
230231
'P=s@' => $self->{plugins},
231232
'state=s@' => $self->{state},
233+
'statefile=s' => \$self->{statefile},
232234
'directives' => \$self->{directives},
233235
'h|help|?' => \$self->{show_help},
234236
'H|man' => \$self->{show_man},
@@ -279,7 +281,7 @@ sub _help {
279281
sub _color_default {
280282
my $self = shift;
281283

282-
return -t STDOUT && !$ENV{HARNESS_NOTTY} && !IS_WIN32;
284+
return -t STDOUT && !$ENV{HARNESS_NOTTY};
283285
}
284286

285287
sub _get_args {
@@ -479,7 +481,7 @@ sub run {
479481

480482
unless ( $self->state_manager ) {
481483
$self->state_manager(
482-
$self->state_class->new( { store => STATE_FILE } ) );
484+
$self->state_class->new( { store => $self->statefile || STATE_FILE } ) );
483485
}
484486

485487
if ( $self->show_help ) {

cpan/Test-Harness/lib/App/Prove/State.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ App::Prove::State - State storage for the C<prove> command.
2525
2626
=head1 VERSION
2727
28-
Version 3.39
28+
Version 3.42_01
2929
3030
=cut
3131

32-
our $VERSION = '3.39';
32+
our $VERSION = '3.42_01';
3333

3434
=head1 DESCRIPTION
3535

cpan/Test-Harness/lib/App/Prove/State/Result.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ App::Prove::State::Result - Individual test suite results.
1414
1515
=head1 VERSION
1616
17-
Version 3.39
17+
Version 3.42_01
1818
1919
=cut
2020

21-
our $VERSION = '3.39';
21+
our $VERSION = '3.42_01';
2222

2323
=head1 DESCRIPTION
2424

cpan/Test-Harness/lib/App/Prove/State/Result/Test.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ App::Prove::State::Result::Test - Individual test results.
99
1010
=head1 VERSION
1111
12-
Version 3.39
12+
Version 3.42_01
1313
1414
=cut
1515

16-
our $VERSION = '3.39';
16+
our $VERSION = '3.42_01';
1717

1818
=head1 DESCRIPTION
1919

cpan/Test-Harness/lib/TAP/Base.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ and L<TAP::Harness>
1212
1313
=head1 VERSION
1414
15-
Version 3.39
15+
Version 3.42_01
1616
1717
=cut
1818

19-
our $VERSION = '3.39';
19+
our $VERSION = '3.42_01';
2020

2121
use constant GOT_TIME_HIRES => do {
2222
eval 'use Time::HiRes qw(time);';

cpan/Test-Harness/lib/TAP/Formatter/Base.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ TAP::Formatter::Base - Base class for harness output delegates
5858
5959
=head1 VERSION
6060
61-
Version 3.39
61+
Version 3.42_01
6262
6363
=cut
6464

65-
our $VERSION = '3.39';
65+
our $VERSION = '3.42_01';
6666

6767
=head1 DESCRIPTION
6868

0 commit comments

Comments
 (0)