X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tests%2FMakefile;h=412ec6ab7aa0cc3436bc4b433a38fe50c784f25a;hb=refs%2Fmerge-requests%2F141%2Fhead;hp=da0dc71f7ec4d13c7f890b432f04bde25971c38e;hpb=d250b510301c92d5f7670dd372a1cce8cac42304;p=open-adventure.git diff --git a/tests/Makefile b/tests/Makefile index da0dc71..412ec6a 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -8,9 +8,10 @@ PATH := $(realpath ..):$(realpath .):${PATH} # Defeat annoying behavior under Mac OS X - builtin echo doesn't do -n ECHO := /bin/echo -all: regress +check: regress @echo "=== No diff output is good news." @-advent -x 2>/dev/null # Get usage message into coverage tests + @-advent -l /dev/null /dev/null .SUFFIXES: .chk @@ -36,6 +37,8 @@ buildregress: done; \ rm -f scratch.tmp regress: + $(ECHO) -n "Generate cheat file: " + ../cheat @for file in $(TESTLOADS); do \ $(ECHO) -n " $${file} "; grep '##' $${file}.log || echo ' ## (no description)'; \ OPTS=`sed -n /#options:/s///p <$${file}.log`; \