Consolidate all magicwords tests into one file. 100% coverage.
This commit is contained in:
parent
9c6219a27d
commit
d9ddf4d805
14 changed files with 115 additions and 4254 deletions
|
@ -108,7 +108,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 issue36.log /dev/stdin >multifile.chk; \
|
||||
rm -f scratch.tmp
|
||||
|
||||
RUN_TARGETS=$(TESTLOADS:%=run-regress-%)
|
||||
|
@ -118,7 +118,7 @@ $(RUN_TARGETS): run-regress-%: %.log
|
|||
$(advent) $$OPTS <$< | tapdiffer "$<: $${legend}" "$${test}.chk")
|
||||
|
||||
multifile-regress:
|
||||
@(echo "inven" | advent isofoo.log /dev/stdin) | tapdiffer "multifile: multiple-file test" multifile.chk
|
||||
@(echo "inven" | advent issue36.log /dev/stdin) | tapdiffer "multifile: multiple-file test" multifile.chk
|
||||
|
||||
TEST_TARGETS = $(SGAMES) $(SCHECKS) $(RUN_TARGETS) multifile-regress
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue