+# Rebuild characterizing tests
+buildregress: savegames
+ $(PARDIR)/cheat -s -1000 -o thousand_saves.adv > /tmp/regress1000saves
+ @for file in $(TESTLOADS); do \
+ echo "Remaking $${file}.chk"; \
+ OPTS=`sed -n /#options:/s///p <$${file}.log`; \
+ advent $$OPTS <$${file}.log >$${file}.chk 2>&1 || exit 1; \
+ done; \
+ echo "inven" | advent isofoo.log /dev/stdin >multifile.chk
+ rm -f scratch.tmp
+
+# Generate bogus savegames for coverage testing.