summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-10 03:16:12 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-10 11:11:29 +0200
commit4a20bb18f0e7da910ae53b29b623e124c5de5887 (patch)
tree68c540a3c01e4fb332df674b94f00a6911afb757 /crawl-ref/source/test
parent831427b3421b071c2c0cb1256088c4ade7c1620b (diff)
downloadcrawl-ref-4a20bb18f0e7da910ae53b29b623e124c5de5887.tar.gz
crawl-ref-4a20bb18f0e7da910ae53b29b623e124c5de5887.zip
An undocumented command-line option, --no-save.
It uses a temporary file for the save file. This fixes canned tests breaking if a run has been aborted (and thus a save by that name exists), and also allows concurrently running multiple instances of the same test. Implies wizmode.
Diffstat (limited to 'crawl-ref/source/test')
-rwxr-xr-xcrawl-ref/source/test/stress/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/test/stress/run b/crawl-ref/source/test/stress/run
index f8dbfbaae0..1efa228091 100755
--- a/crawl-ref/source/test/stress/run
+++ b/crawl-ref/source/test/stress/run
@@ -1,7 +1,7 @@
#!/bin/sh
set -e
-CRAWL=${CRAWL:-./crawl -seed 1}
+CRAWL=${CRAWL:-./crawl -seed 1 -no-save}
run_one()
{