Allow cheat to generate save files with bogus numbers.
[open-adventure.git] / tests / Makefile
index cbef1424c8a38de300cc5fb4bb3ef11a1a76ea2e..21fceb75071a383791d16d743fe15e47b7873b92 100644 (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`; \