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