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 11 12# Manually run after updating the test generator. 13generate-tests: .PHONY 14.for tcat in ${FORTIFY_TCATS} 15ATF_TESTS_C+= fortify_${tcat}_test 16 17generate-tests: generate-tests-${tcat} 18generate-tests-${tcat}: .PHONY 19 ${.CURDIR}/generate-fortify-tests.lua ${tcat} > ${.CURDIR}/fortify_${tcat}_test.c 20.endfor 21 22.include <bsd.test.mk> 23