diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-03-27 01:32:34 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-03-27 01:51:58 +0100 |
commit | 9f07a3640d5717a995fb9cbfa795099347502a78 (patch) | |
tree | 4b6121a5d86bd6a81f1511f33d2195ab853ba973 /crawl-ref/source/test | |
parent | a6199e35b2c9aa786d01c1c486441bceece2cedc (diff) | |
download | crawl-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-x | crawl-ref/source/test/stress/timeall | 2 |
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"; |