diff options
author | justdave%syndicomm.com <> | 2003-02-17 10:33:01 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2003-02-17 10:33:01 +0000 |
commit | 91139bec5ec7b15d501290f71421e774717f459a (patch) | |
tree | 6d18261880d997e8479aec40107010007a2e4624 /runtests.pl | |
parent | Bug 135820 - token cancellation message are not user-friendly (diff) | |
download | bugzilla-91139bec5ec7b15d501290f71421e774717f459a.tar.gz bugzilla-91139bec5ec7b15d501290f71421e774717f459a.tar.bz2 bugzilla-91139bec5ec7b15d501290f71421e774717f459a.zip |
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)
Diffstat (limited to 'runtests.pl')
-rwxr-xr-x | runtests.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtests.pl b/runtests.pl index 930ff116d..376a4a1e4 100755 --- a/runtests.pl +++ b/runtests.pl @@ -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")); |