1669c2535SEnji Cooper 292a8983bSKyle Evans.include <src.opts.mk> 393fecd02SAlan Somers.include <bsd.compiler.mk> 493fecd02SAlan Somers 5669c2535SEnji CooperPACKAGE= tests 6669c2535SEnji Cooper 7669c2535SEnji CooperTESTSDIR= ${TESTSBASE}/sys/fs 8669c2535SEnji Cooper 9669c2535SEnji CooperTESTSRC= ${SRCTOP}/contrib/netbsd-tests/fs 10669c2535SEnji Cooper 11669c2535SEnji Cooper#TESTS_SUBDIRS+= nullfs # XXX: needs rump 1292a8983bSKyle Evans# fusefs tests cannot be compiled/used without the googletest infrastructure. 1392a8983bSKyle Evans.if ${COMPILER_FEATURES:Mc++14} && ${MK_GOOGLETEST} != "no" 149821f1d3SAlan SomersTESTS_SUBDIRS+= fusefs 1593fecd02SAlan Somers.endif 16*69d94f4cSDag-Erling SmørgravTESTS_SUBDIRS+= tarfs 17669c2535SEnji CooperTESTS_SUBDIRS+= tmpfs 18669c2535SEnji Cooper 19669c2535SEnji Cooper${PACKAGE}FILES+= h_funcs.subr 20669c2535SEnji Cooper${PACKAGE}FILESDIR= ${TESTSDIR} 21669c2535SEnji Cooper 22669c2535SEnji CooperCLEANFILES+= h_funcs.subr 23669c2535SEnji CooperCLEANFILES+= h_funcs.subr.tmp 24669c2535SEnji Cooper 25669c2535SEnji Cooperh_funcs.subr: ${TESTSRC}/h_funcs.subr 26669c2535SEnji Cooper cat ${.ALLSRC} | \ 27669c2535SEnji Cooper sed -e '/atf_require_prog mount_$${name}/d' >>${.TARGET}.tmp 28669c2535SEnji Cooper mv ${.TARGET}.tmp ${.TARGET} 29669c2535SEnji Cooper 30669c2535SEnji Cooper.include <bsd.test.mk> 31