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