93fecd02a1
* Only build the tests on platforms with C++14 support * Fix an undefined symbol error on lint builds * Remove an unused function: fiov_clear Sponsored by: The FreeBSD Foundation
29 lines
565 B
Makefile
29 lines
565 B
Makefile
# $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>
|