Cleann up scratchfile after tesrs.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 12 Mar 2023 21:21:15 +0000 (17:21 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 12 Mar 2023 21:21:15 +0000 (17:21 -0400)
tests/Makefile

index 1bd9311ff135d40d83031cf2d2eb67391c0e8550..fb03fdbe5317ea85335b983f24bdde43ae859f52 100644 (file)
@@ -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))