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