]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tests/sys/fs/Makefile
MFV r354383: 10592 misc. metaslab and vdev related ZoL bug fixes
[FreeBSD/FreeBSD.git] / tests / sys / fs / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4 .include <bsd.compiler.mk>
5
6 PACKAGE=                tests
7
8 TESTSDIR=               ${TESTSBASE}/sys/fs
9
10 TESTSRC=                ${SRCTOP}/contrib/netbsd-tests/fs
11
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 TESTS_SUBDIRS+=         fusefs
16 .endif
17 TESTS_SUBDIRS+=         tmpfs
18
19 ${PACKAGE}FILES+=       h_funcs.subr
20 ${PACKAGE}FILESDIR=     ${TESTSDIR}
21
22 CLEANFILES+=            h_funcs.subr
23 CLEANFILES+=            h_funcs.subr.tmp
24
25 h_funcs.subr: ${TESTSRC}/h_funcs.subr
26         cat ${.ALLSRC} | \
27             sed -e '/atf_require_prog mount_$${name}/d' >>${.TARGET}.tmp
28         mv ${.TARGET}.tmp ${.TARGET}
29
30 .include <bsd.test.mk>