From: Eric S. Raymond Date: Sun, 12 Mar 2023 21:21:15 +0000 (-0400) Subject: Cleann up scratchfile after tesrs. X-Git-Tag: 1.15~56 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=43af075fa95197569d7f47de4bc87c9c296658f1;p=open-adventure.git Cleann up scratchfile after tesrs. --- diff --git a/tests/Makefile b/tests/Makefile index 1bd9311..fb03fdb 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -93,7 +93,7 @@ buildchecks: savegames 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 + echo "inven" | advent isofoo.log /dev/stdin >multifile.chk; \ rm -f scratch.tmp RUN_TARGETS=$(TESTLOADS:%=run-regress-%) @@ -108,6 +108,7 @@ multifile-regress: TEST_TARGETS = $(RUN_TARGETS) multifile-regress tap: count $(TEST_TARGETS) + rm -f scratch.tmp count: @echo 1..$(words $(TEST_TARGETS))