1# $FreeBSD$ 2 3.include <bsd.init.mk> 4 5ATF= ${SRCTOP}/contrib/atf 6.PATH: ${ATF}/atf-sh 7 8ATF_TESTS_SH+= atf_check_test 9ATF_TESTS_SH+= config_test 10ATF_TESTS_SH+= integration_test 11ATF_TESTS_SH+= normalize_test 12ATF_TESTS_SH+= tc_test 13ATF_TESTS_SH+= tp_test 14 15integration_test: Makefile 16ATF_TESTS_SH_SED_integration_test= \ 17 -e 's,__ATF_SH__,/usr/libexec/atf-sh,g' 18 19SCRIPTS+= misc_helpers 20SCRIPTSDIR_misc_helpers=${TESTSDIR} 21CLEANFILES+= misc_helpers misc_helpers.tmp 22misc_helpers: misc_helpers.sh 23 echo '#! /usr/libexec/atf-sh' >${.TARGET}.tmp 24 cat ${.ALLSRC} >>${.TARGET}.tmp 25 chmod +x ${.TARGET}.tmp 26 mv ${.TARGET}.tmp ${.TARGET} 27 28.include <bsd.test.mk> 29