NetBSD/libexec/httpd/testsuite/Makefile
schmonz 268438cada Add a VERBOSE knob to the testsuite ("yes" by default, producing
basically the same output as before). When turned off, tests run
silently except when there's a failure.

Reviewed by mrg@.
2016-09-23 16:55:56 +00:00

38 lines
733 B
Makefile

# $eterna: Makefile,v 1.14 2009/05/22 21:51:39 mrg Exp $
SIMPLETESTS= t1 t2 t3 t4 t5 t6 t7 t8 t9 t10
BIGFILETESTS= partial4000 partial8000
BOZOHTTPD?= ../bozohttpd
BOZOHTTPD?= ../debug/bozohttpd-debug
WGET?= wget
DATA?= $(.CURDIR)/data
VERBOSE?= yes
.if ${VERBOSE} != "yes"
SILENT= @
.else
SILENT=
.endif
all:
clean:
for a in $(SIMPLETESTS) $(BIGFILETESTS); do \
rm -f tmp.$$a.out tmp.$$a.err; \
done
check: check-simple check-bigfile
check-simple:
.for a in $(SIMPLETESTS)
${SILENT}$(.CURDIR)/test-simple "$a" "${BOZOHTTPD}" "${DATA}" "${VERBOSE}"
.endfor
check-bigfile:
.for a in $(BIGFILETESTS)
${SILENT}$(.CURDIR)/test-bigfile "$a" "${BOZOHTTPD}" "${WGET}" "${DATA}" "${VERBOSE}"
.endfor
.include <bsd.obj.mk>