1.include <src.opts.mk> 2.include <bsd.compiler.mk> 3 4PACKAGE= tests 5 6TESTSDIR= ${TESTSBASE}/sys/fs 7 8TESTSRC= ${SRCTOP}/contrib/netbsd-tests/fs 9 10TESTS_SUBDIRS+= fdescfs 11#TESTS_SUBDIRS+= nullfs # XXX: needs rump 12# fusefs tests cannot be compiled/used without the googletest infrastructure. 13.if ${COMPILER_FEATURES:Mc++14} && ${MK_GOOGLETEST} != "no" 14TESTS_SUBDIRS+= fusefs 15.endif 16TESTS_SUBDIRS+= pjdfstest 17TESTS_SUBDIRS+= tarfs 18TESTS_SUBDIRS+= tmpfs 19TESTS_SUBDIRS+= ufs 20TESTS_SUBDIRS+= unionfs 21 22${PACKAGE}FILES+= h_funcs.subr 23${PACKAGE}FILESDIR= ${TESTSDIR} 24 25CLEANFILES+= h_funcs.subr 26CLEANFILES+= h_funcs.subr.tmp 27 28h_funcs.subr: ${TESTSRC}/h_funcs.subr 29 cat ${.ALLSRC} | \ 30 sed -e '/atf_require_prog mount_$${name}/d' >>${.TARGET}.tmp 31 mv ${.TARGET}.tmp ${.TARGET} 32 33.include <bsd.test.mk> 34