Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2021 00:28:53 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ae2e05423dff - stable/13 - Skip netgraph tests when WITHOUT_NETGRAPH is set
Message-ID:  <202107130028.16D0Sreg005078@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=ae2e05423dfff64cdfcf6263de6e62ef49dec6a0

commit ae2e05423dfff64cdfcf6263de6e62ef49dec6a0
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-07-06 13:44:15 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-07-13 00:27:19 +0000

    Skip netgraph tests when WITHOUT_NETGRAPH is set
    
    PR:             256986
    Reported by:    John Marshall
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit c9144ec14d2a5a53cfe91ada1b3b9c06b78dc999)
---
 tests/sys/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107130028.16D0Sreg005078>