Allow cheat to generate save files with bogus numbers.

Also remove pre-built save file for resumefail.log
This commit is contained in:
Aaron Traas 2017-06-27 10:46:26 -04:00 committed by Eric S. Raymond
parent 7392603b7d
commit 0a30176a8c
6 changed files with 22 additions and 11 deletions

View file

@ -37,8 +37,10 @@ buildregress:
done; \
rm -f scratch.tmp
regress:
$(ECHO) -n "Generate cheat file: "
$(ECHO) -n "Generate save file with -1000 deaths: "
../cheat -d -1000 -o cheat_numdie.adv
$(ECHO) -n "Generate save file with version -1337: "
../cheat -v -1337 -o resume_badversion.adv
@for file in $(TESTLOADS); do \
$(ECHO) -n " $${file} "; grep '##' $${file}.log || echo ' ## (no description)'; \
OPTS=`sed -n /#options:/s///p <$${file}.log`; \