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