Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 11757
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: RKINYON [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Addition of -w option to prove
The inlined patch below allows for the specification of -w and -W on the prove commandline. This will enable the -w (or -W) switch for the perl executable when running runtests(). This means that "prove -wlb t/*.t" is exactly the same as "make test". --- /usr/local/perl5/bin/prove Sat May 1 17:50:12 2004 +++ prove Fri Mar 4 13:20:20 2005 @@ -43,6 +43,8 @@ 's|shuffle' => \$shuffle, 't' => sub { unshift @switches, "-t" }, # Always want -t up front 'T' => sub { unshift @switches, "-T" }, # Always want -T up front + 'w' => sub { push @switches, "-w" }, + 'W' => sub { push @switches, "-W" }, 'v|verbose' => \$Test::Harness::verbose, 'V|version' => sub { print_version(); exit; }, 'ext=s@' => \@ext,
Added, thanks. It'll be in 2.57_02.