summaryrefslogtreecommitdiff
path: root/tests/sys
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-09-15 14:37:50 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-09-15 14:37:50 +0000
commit02f234f3b24884b48151036f4e493842e47700b0 (patch)
treebc3bd74e76d17a37cd89792344ed9f9a98045d2d /tests/sys
parent3ca5cfaae880ab54469719c3c9fb224e75ac5005 (diff)
downloadsrc-test2-02f234f3b24884b48151036f4e493842e47700b0.tar.gz
src-test2-02f234f3b24884b48151036f4e493842e47700b0.zip
Notes
Diffstat (limited to 'tests/sys')
-rw-r--r--tests/sys/fs/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/sys/fs/Makefile b/tests/sys/fs/Makefile
index 99d909b140de..6769f2182e79 100644
--- a/tests/sys/fs/Makefile
+++ b/tests/sys/fs/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+.include <src.opts.mk>
.include <bsd.compiler.mk>
PACKAGE= tests
@@ -9,7 +10,8 @@ TESTSDIR= ${TESTSBASE}/sys/fs
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/fs
#TESTS_SUBDIRS+= nullfs # XXX: needs rump
-.if ${COMPILER_FEATURES:Mc++14}
+# fusefs tests cannot be compiled/used without the googletest infrastructure.
+.if ${COMPILER_FEATURES:Mc++14} && ${MK_GOOGLETEST} != "no"
TESTS_SUBDIRS+= fusefs
.endif
TESTS_SUBDIRS+= tmpfs