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 10#TESTS_SUBDIRS+= nullfs # XXX: needs rump 11# fusefs tests cannot be compiled/used without the googletest infrastructure. 12.if ${COMPILER_FEATURES:Mc++14} && ${MK_GOOGLETEST} != "no" 13TESTS_SUBDIRS+= fusefs 14.endif 15TESTS_SUBDIRS+= pjdfstest 16TESTS_SUBDIRS+= tarfs 17TESTS_SUBDIRS+= tmpfs 18TESTS_SUBDIRS+= unionfs 19 20${PACKAGE}FILES+= h_funcs.subr 21${PACKAGE}FILESDIR= ${TESTSDIR} 22 23CLEANFILES+= h_funcs.subr 24CLEANFILES+= h_funcs.subr.tmp 25 26h_funcs.subr: ${TESTSRC}/h_funcs.subr 27 cat ${.ALLSRC} | \ 28 sed -e '/atf_require_prog mount_$${name}/d' >>${.TARGET}.tmp 29 mv ${.TARGET}.tmp ${.TARGET} 30 31.include <bsd.test.mk> 32