aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-07-06 13:44:15 +0000
committerEd Maste <emaste@FreeBSD.org>2021-07-06 13:45:34 +0000
commitc9144ec14d2a5a53cfe91ada1b3b9c06b78dc999 (patch)
tree310071919a749aaab53d28cb29902f6785c2cad1
parent2eefc1d926430dbba83128d27f8bed3c34199159 (diff)
downloadsrc-c9144ec14d2a5a53cfe91ada1b3b9c06b78dc999.tar.gz
src-c9144ec14d2a5a53cfe91ada1b3b9c06b78dc999.zip
Skip netgraph tests when WITHOUT_NETGRAPH is set
PR: 256986 Reported by: John Marshall MFC after: 1 week Sponsored by: The FreeBSD Foundation
-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