-# General regression testing of commands and output; look at the *.log and
-# corresponding *.chk files to see which tests this runs.
-TESTLOADS := $(shell ls -1 *.log | sed '/.log/s///' | sort)
-buildregress:
- $(ECHO) "Generate save file with -1000 deaths: "
- ../cheat -d -1000 -o cheat_numdie.adv
- $(ECHO) "Generate save file with version -1337: "
- ../cheat -v -1337 -o resume_badversion.adv
- $(ECHO) "TEST cheat: Generate save file 1000 saves"
+# Generate bogus savegames.
+savegames:
+ $(ECHO) "cheat: Generate save file with -1000 deaths"
+ ../cheat -d -1000 -o cheat_numdie.adv > /tmp/cheat_numdie
+ $(ECHO) "cheat: Generate save file with version -1337"
+ ../cheat -v -1337 -o resume_badversion.adv > /tmp/cheat_badversion
+ $(ECHO) "cheat: Generate save file 1000 saves"
+ ../cheat -s -1000 -o thousand_saves.adv > /tmp/cheat_1000saves
+ $(ECHO) "cheat: Generate save file 1000 turns"
+ ../cheat -t -1000 -o thousand_saves.adv > /tmp/cheat_1000turns
+ $(ECHO) "cheat: Generate save file 1000 turns"
+ ../cheat -l -1000 -o thousand_lamp.adv > /tmp/cheat_1000lamp
+ rm -f /tmp/cheat*
+
+
+# Rebuild characterizing tests
+buildregress: savegames