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