runtests.pl now lets you specify a test number on the command line if you only…

runtests.pl now lets you specify a test number on the command line if you only want to run that specific test instead of all of them. (no bug number)
parent fb9ad768
......@@ -27,13 +27,16 @@ use strict;
use Test::Harness qw(&runtests $verbose);
$verbose = 0;
my $onlytest = "";
foreach (@ARGV) {
if (/^(?:-v|--verbose)$/) {
$verbose = 1;
last;
}
else {
$onlytest = $_;
}
}
runtests(glob("t/*.t"));
runtests(glob("t/$onlytest*.t"));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment