Home | History | Annotate | Line # | Download | only in testsuite
Makefile revision 1.4.26.3
      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.26.3  snj CGITESTS=	t11
      5       1.4  mrg BIGFILETESTS=	partial4000 partial8000
      6       1.4  mrg 
      7       1.1  tls BOZOHTTPD?=	../bozohttpd
      8       1.4  mrg BOZOHTTPD?=	../debug/bozohttpd-debug
      9       1.4  mrg WGET?=		wget
     10  1.4.26.1  snj DATA?=		$(.CURDIR)/data 
     11  1.4.26.2  snj VERBOSE?=	yes
     12  1.4.26.2  snj 
     13  1.4.26.2  snj .if ${VERBOSE} != "yes"
     14  1.4.26.2  snj SILENT=		@
     15  1.4.26.2  snj .else
     16  1.4.26.2  snj SILENT=
     17  1.4.26.2  snj .endif
     18  1.4.26.2  snj 
     19       1.1  tls all:
     20       1.1  tls 
     21       1.1  tls clean:
     22  1.4.26.2  snj 	for a in $(SIMPLETESTS) $(BIGFILETESTS); do \
     23  1.4.26.2  snj 		rm -f tmp.$$a.out tmp.$$a.err; \
     24       1.1  tls 	done
     25       1.1  tls 
     26  1.4.26.3  snj check: check-simple check-cgi check-bigfile
     27       1.4  mrg 
     28       1.4  mrg check-simple:
     29       1.1  tls .for a in $(SIMPLETESTS)
     30  1.4.26.3  snj 	${SILENT}$(.CURDIR)/test-simple "$a" "${BOZOHTTPD}" "${DATA}" "${.CURDIR}" "${VERBOSE}"
     31  1.4.26.3  snj .endfor
     32  1.4.26.3  snj 
     33  1.4.26.3  snj check-cgi:
     34  1.4.26.3  snj .for a in $(CGITESTS)
     35  1.4.26.3  snj 	${SILENT}$(.CURDIR)/test-simple "$a" "${BOZOHTTPD}" "${DATA}" "${.CURDIR}" "${VERBOSE}" -c "${.CURDIR}/cgi-bin"
     36       1.1  tls .endfor
     37       1.1  tls 
     38       1.4  mrg check-bigfile:
     39       1.4  mrg .for a in $(BIGFILETESTS)
     40  1.4.26.2  snj 	${SILENT}$(.CURDIR)/test-bigfile "$a" "${BOZOHTTPD}" "${WGET}" "${DATA}" "${VERBOSE}"
     41       1.4  mrg .endfor
     42       1.4  mrg 
     43       1.1  tls .include <bsd.obj.mk>
     44