1PROG=		testregex
2NOMAN=		yes
3
4LOCALE?=	C
5TYPES=		basic categorize nullsubexpr leftassoc rightassoc \
6		forcedassoc repetition
7
8.for type in ${TYPES}
9test-${type}: testregex datafiles/${type}.dat
10	@echo
11	@echo Testing ${type} ...
12	@env LANG=${LOCALE} \
13		${.CURDIR}/testregex < ${.CURDIR}/datafiles/${type}.dat
14.endfor
15
16full-test-run: ${TYPES:C/^/test-/}
17
18.include <bsd.prog.mk>
19