1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE= tests 6 7TESTSDIR=${TESTSBASE}/sys/cddl/zfs/include 8 9STFSUITEDIR=${TESTSBASE}/sys/cddl/zfs 10 11MAN= 12FILESDIR= ${TESTSBASE}/sys/cddl/zfs/include 13${PACKAGE}FILES+= constants.cfg 14${PACKAGE}FILES+= libremote.kshlib 15${PACKAGE}FILES+= libgnop.kshlib 16${PACKAGE}FILES+= logapi.kshlib 17${PACKAGE}FILES+= libtest.kshlib 18${PACKAGE}FILES+= stf.shlib 19${PACKAGE}FILES+= testenv.kshlib 20 21${PACKAGE}FILES+= commands.cfg 22CLEANFILES+= commands.cfg 23commands.cfg: translatecommands.awk commands.txt 24 awk -v stfsuitedir=${STFSUITEDIR} -f ${.ALLSRC} > ${.TARGET} 25 26${PACKAGE}FILES+= default.cfg 27CLEANFILES+= default.cfg 28default.cfg: default.cfg.in 29 sed "s:%%STFSUITEDIR%%:${STFSUITEDIR}:" ${.ALLSRC} > ${.TARGET} 30 31ATF_TESTS_KSH93+= libtest_test 32.include <bsd.test.mk> 33