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