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,