Test coverage -- 100% cheat for real this time

This commit is contained in:
Aaron Traas 2017-06-28 09:44:20 -04:00 committed by Eric S. Raymond
parent ceb5c27218
commit 3b780dd57e

View file

@ -52,7 +52,7 @@ regress:
$(ECHO) -n "Fail to save because we omit -o: " $(ECHO) -n "Fail to save because we omit -o: "
../cheat -d 1 | true ../cheat -d 1 | true
$(ECHO) -n "Fail to save to invalid path: " $(ECHO) -n "Fail to save to invalid path: "
../cheat -o /badfilename.adv | true ../cheat -o / | true
@for file in $(TESTLOADS); do \ @for file in $(TESTLOADS); do \
$(ECHO) -n " $${file} "; grep '##' $${file}.log || echo ' ## (no description)'; \ $(ECHO) -n " $${file} "; grep '##' $${file}.log || echo ' ## (no description)'; \
OPTS=`sed -n /#options:/s///p <$${file}.log`; \ OPTS=`sed -n /#options:/s///p <$${file}.log`; \