aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/sys/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/sys/Makefile b/tests/sys/Makefile
index 4ba885405ce7..2781f7fb4ded 100644
--- a/tests/sys/Makefile
+++ b/tests/sys/Makefile
@@ -20,7 +20,7 @@ TESTS_SUBDIRS+= kqueue
TESTS_SUBDIRS+= mac
TESTS_SUBDIRS+= mqueue
TESTS_SUBDIRS+= net
-TESTS_SUBDIRS+= netgraph
+TESTS_SUBDIRS+= ${_netgraph}
TESTS_SUBDIRS+= netinet
TESTS_SUBDIRS+= netinet6
TESTS_SUBDIRS+= netipsec
@@ -40,6 +40,10 @@ _audit= audit
_cddl= cddl
.endif
+.if ${MK_NETGRAPH} != "no"
+_netgraph= netgraph
+.endif
+
# Items not integrated into kyua runs by default
SUBDIR+= pjdfstest