-# Generate bogus savegames for coverage testing. Needed for one test log as well
-savegames:
- @# Generate save file with -900 deaths
- @$(PARDIR)/cheat -d -900 -o cheat_numdie.adv > /tmp/cheat_numdie
- @# Generate save file with -1000 deaths
- @$(PARDIR)/cheat -d -1000 -o cheat_numdie1000.adv > /tmp/cheat_numdie1000
- @# cheat: Generate save file with version -1337
- @$(PARDIR)/cheat -v -1337 -o resume_badversion.adv > /tmp/cheat_badversion
- @# cheat: Generate save file 1000 saves
- @$(PARDIR)/cheat -s -1000 -o thousand_saves.adv > /tmp/cheat_1000saves
- @# Generate save file 1000 turns
- @$(PARDIR)/cheat -t -1000 -o thousand_saves.adv > /tmp/cheat_1000turns
- @# cheat: Generate save file 1000 turns
- @$(PARDIR)/cheat -l -1000 -o thousand_lamp.adv > /tmp/cheat_1000lamp
- @rm -f /tmp/cheat*
-
-# Force coverage of various edge cases