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