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+= unionfs 20 21${PACKAGE}FILES+= h_funcs.subr 22${PACKAGE}FILESDIR= ${TESTSDIR} 23 24CLEANFILES+= h_funcs.subr 25CLEANFILES+= h_funcs.subr.tmp 26 27h_funcs.subr: ${TESTSRC}/h_funcs.subr 28 cat ${.ALLSRC} | \ 29 sed -e '/atf_require_prog mount_$${name}/d' >>${.TARGET}.tmp 30 mv ${.TARGET}.tmp ${.TARGET} 31 32.include <bsd.test.mk> 33