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