freebsd-nq/tests/sys/fs/Makefile

29 lines
565 B
Makefile
Raw Normal View History

# $FreeBSD$
.include <bsd.compiler.mk>
PACKAGE= tests
TESTSDIR= ${TESTSBASE}/sys/fs
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/fs
#TESTS_SUBDIRS+= nullfs # XXX: needs rump
.if ${COMPILER_FEATURES:Mc++14}
TESTS_SUBDIRS+= fusefs
.endif
TESTS_SUBDIRS+= tmpfs
${PACKAGE}FILES+= h_funcs.subr
${PACKAGE}FILESDIR= ${TESTSDIR}
CLEANFILES+= h_funcs.subr
CLEANFILES+= h_funcs.subr.tmp
h_funcs.subr: ${TESTSRC}/h_funcs.subr
cat ${.ALLSRC} | \
sed -e '/atf_require_prog mount_$${name}/d' >>${.TARGET}.tmp
mv ${.TARGET}.tmp ${.TARGET}
.include <bsd.test.mk>