Home | History | Annotate | Line # | Download | only in testsuite
Makefile revision 1.6
      1  1.4      mrg #	$eterna: Makefile,v 1.14 2009/05/22 21:51:39 mrg Exp $
      2  1.1      tls 
      3  1.3      mrg SIMPLETESTS=	t1 t2 t3 t4 t5 t6 t7 t8 t9 t10
      4  1.4      mrg BIGFILETESTS=	partial4000 partial8000
      5  1.4      mrg 
      6  1.1      tls BOZOHTTPD?=	../bozohttpd
      7  1.4      mrg BOZOHTTPD?=	../debug/bozohttpd-debug
      8  1.4      mrg WGET?=		wget
      9  1.5      mrg DATA?=		$(.CURDIR)/data 
     10  1.6  schmonz VERBOSE?=	yes
     11  1.6  schmonz 
     12  1.6  schmonz .if ${VERBOSE} != "yes"
     13  1.6  schmonz SILENT=		@
     14  1.6  schmonz .else
     15  1.6  schmonz SILENT=
     16  1.6  schmonz .endif
     17  1.6  schmonz 
     18  1.1      tls all:
     19  1.1      tls 
     20  1.1      tls clean:
     21  1.6  schmonz 	for a in $(SIMPLETESTS) $(BIGFILETESTS); do \
     22  1.6  schmonz 		rm -f tmp.$$a.out tmp.$$a.err; \
     23  1.1      tls 	done
     24  1.1      tls 
     25  1.4      mrg check: check-simple check-bigfile
     26  1.4      mrg 
     27  1.4      mrg check-simple:
     28  1.1      tls .for a in $(SIMPLETESTS)
     29  1.6  schmonz 	${SILENT}$(.CURDIR)/test-simple "$a" "${BOZOHTTPD}" "${DATA}" "${VERBOSE}"
     30  1.1      tls .endfor
     31  1.1      tls 
     32  1.4      mrg check-bigfile:
     33  1.4      mrg .for a in $(BIGFILETESTS)
     34  1.6  schmonz 	${SILENT}$(.CURDIR)/test-bigfile "$a" "${BOZOHTTPD}" "${WGET}" "${DATA}" "${VERBOSE}"
     35  1.4      mrg .endfor
     36  1.4      mrg 
     37  1.1      tls .include <bsd.obj.mk>
     38