projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Consolidate all magicwords tests into one file. 100% coverage.
[open-adventure.git]
/
tests
/
Makefile
diff --git
a/tests/Makefile
b/tests/Makefile
index 80768024cf6febf4b51e921063040304e74f5e8d..2f547a0cac35098c1c31909f694f143bc5d01337 100644
(file)
--- a/
tests/Makefile
+++ b/
tests/Makefile
@@
-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; \
OPTS=`sed -n /#options:/s///p <$${file}.log`; \
advent $$OPTS <$${file}.log >$${file}.chk 2>&1 || exit 1; \
done; \
- echo "inven" | advent is
ofoo
.log /dev/stdin >multifile.chk; \
+ echo "inven" | advent is
sue36
.log /dev/stdin >multifile.chk; \
rm -f scratch.tmp
RUN_TARGETS=$(TESTLOADS:%=run-regress-%)
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:
$(advent) $$OPTS <$< | tapdiffer "$<: $${legend}" "$${test}.chk")
multifile-regress:
- @(echo "inven" | advent is
ofoo
.log /dev/stdin) | tapdiffer "multifile: multiple-file test" multifile.chk
+ @(echo "inven" | advent is
sue36
.log /dev/stdin) | tapdiffer "multifile: multiple-file test" multifile.chk
TEST_TARGETS = $(SGAMES) $(SCHECKS) $(RUN_TARGETS) multifile-regress
TEST_TARGETS = $(SGAMES) $(SCHECKS) $(RUN_TARGETS) multifile-regress