buildregress now generates save files correctly.
authorAaron Traas <aaron@traas.org>
Tue, 27 Jun 2017 15:36:24 +0000 (11:36 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 27 Jun 2017 20:13:49 +0000 (16:13 -0400)
tests/Makefile

index 6e657ef66411dbd47614dfb0484b68faf1316c7e..0aace2fd3476d2fa3aac17c73a4f6fd7d626e0fb 100644 (file)
@@ -30,6 +30,10 @@ listcheck:
 # corresponding *.chk files to see which tests this runs.
 TESTLOADS := $(shell ls -1 *.log | sed '/.log/s///' | sort)
 buildregress:
+       $(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 "Remaking $${file}.chk"; \
            OPTS=`sed -n /#options:/s///p <$${file}.log`; \