1.include <bsd.own.mk> 2 3TESTSDIR:= ${TESTSBASE}/${RELDIR:C/libc\/tests/libc/} 4 5FORTIFY_TCATS+= poll 6FORTIFY_TCATS+= stdio 7FORTIFY_TCATS+= string 8FORTIFY_TCATS+= strings 9FORTIFY_TCATS+= unistd 10 11# Manually run after updating the test generator. 12generate-tests: .PHONY 13.for tcat in ${FORTIFY_TCATS} 14ATF_TESTS_C+= fortify_${tcat}_test 15 16generate-tests: generate-tests-${tcat} 17generate-tests-${tcat}: .PHONY 18 ${.CURDIR}/generate-fortify-tests.lua ${tcat} > ${.CURDIR}/fortify_${tcat}_test.c 19.endfor 20 21.include <bsd.test.mk> 22