summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-03-27 01:32:34 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-03-27 01:51:58 +0100
commit9f07a3640d5717a995fb9cbfa795099347502a78 (patch)
tree4b6121a5d86bd6a81f1511f33d2195ab853ba973 /crawl-ref/source/test
parenta6199e35b2c9aa786d01c1c486441bceece2cedc (diff)
downloadcrawl-ref-9f07a3640d5717a995fb9cbfa795099347502a78.tar.gz
crawl-ref-9f07a3640d5717a995fb9cbfa795099347502a78.zip
Allow running test/stress/timeall on an arbitrary set of tests.
Diffstat (limited to 'crawl-ref/source/test')
-rwxr-xr-xcrawl-ref/source/test/stress/timeall2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/test/stress/timeall b/crawl-ref/source/test/stress/timeall
index 27293ce0d2..5377ebb936 100755
--- a/crawl-ref/source/test/stress/timeall
+++ b/crawl-ref/source/test/stress/timeall
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
use strict;
-my @TESTS = qw(1 2 3 4 5 8);
+my @TESTS = $#ARGV == -1 ? qw(1 2 3 4 5 8) : @ARGV;
my $NTRIES = 5;
!system("./crawl --builddb") or die "Rebuilding the db failed -- bailing.\n";