4 .include <bsd.compiler.mk>
8 TESTSDIR= ${TESTSBASE}/sys/fs
10 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/fs
12 #TESTS_SUBDIRS+= nullfs # XXX: needs rump
13 # fusefs tests cannot be compiled/used without the googletest infrastructure.
14 .if ${COMPILER_FEATURES:Mc++14} && ${MK_GOOGLETEST} != "no"
15 # Don't build fusefs tests for MIPS while LLVM PR 43263 is active, as part
16 # of the fusefs tests trigger excessively long compile time. The build does
17 # eventually succeed, but it's perhaps better to not do so by default for now.
18 .if ${MACHINE_CPUARCH} != "mips" || ${COMPILER_TYPE} != "clang"
19 TESTS_SUBDIRS+= fusefs
24 ${PACKAGE}FILES+= h_funcs.subr
25 ${PACKAGE}FILESDIR= ${TESTSDIR}
27 CLEANFILES+= h_funcs.subr
28 CLEANFILES+= h_funcs.subr.tmp
30 h_funcs.subr: ${TESTSRC}/h_funcs.subr
32 sed -e '/atf_require_prog mount_$${name}/d' >>${.TARGET}.tmp
33 mv ${.TARGET}.tmp ${.TARGET}
35 .include <bsd.test.mk>