Home | History | Annotate | Line # | Download | only in testsuite
Makefile revision 1.5.2.2
      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.5.2.2  pgoyette 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.5       mrg DATA?=		$(.CURDIR)/data 
     11  1.5.2.1  pgoyette VERBOSE?=	yes
     12  1.5.2.1  pgoyette 
     13  1.5.2.1  pgoyette .if ${VERBOSE} != "yes"
     14  1.5.2.1  pgoyette SILENT=		@
     15  1.5.2.1  pgoyette .else
     16  1.5.2.1  pgoyette SILENT=
     17  1.5.2.1  pgoyette .endif
     18  1.5.2.1  pgoyette 
     19      1.1       tls all:
     20      1.1       tls 
     21      1.1       tls clean:
     22  1.5.2.1  pgoyette 	for a in $(SIMPLETESTS) $(BIGFILETESTS); do \
     23  1.5.2.1  pgoyette 		rm -f tmp.$$a.out tmp.$$a.err; \
     24      1.1       tls 	done
     25      1.1       tls 
     26  1.5.2.2  pgoyette 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.5.2.2  pgoyette 	${SILENT}$(.CURDIR)/test-simple "$a" "${BOZOHTTPD}" "${DATA}" "${.CURDIR}" "${VERBOSE}"
     31  1.5.2.2  pgoyette .endfor
     32  1.5.2.2  pgoyette 
     33  1.5.2.2  pgoyette check-cgi:
     34  1.5.2.2  pgoyette .for a in $(CGITESTS)
     35  1.5.2.2  pgoyette 	${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.5.2.1  pgoyette 	${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