]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
runtests.pl now lets you specify a test number on the command line if you only want...
authorjustdave%syndicomm.com <>
Mon, 17 Feb 2003 10:33:31 +0000 (10:33 +0000)
committerjustdave%syndicomm.com <>
Mon, 17 Feb 2003 10:33:31 +0000 (10:33 +0000)
runtests.pl

index 930ff116d502757ba244003bbaee87e317aea9fa..376a4a1e4717cd5bf222ef6bd45e9f7e064b2207 100755 (executable)
@@ -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"));