git: 7503cd109bff - stable/15 - tests/sys/pmc: only build if MK_PMC != no
Alexander Leidinger <[email protected]> Mon, 03 Aug 2026 17:29:47 +0000
| Newsgroups | gmane.os.freebsd.devel.cvs.src |
|---|---|
| Message-ID | <6a70d00b.47047.7e13ec25__7084.65261138684$1785778228$gmane$org@gitrepo.freebsd.org> |
The branch stable/15 has been updated by netchild: URL: https://cgit.FreeBSD.org/src/commit/?id=7503cd109bff5882779788c9864030f461445375 commit 7503cd109bff5882779788c9864030f461445375 Author: Enji Cooper <[email protected]> AuthorDate: 2026-07-22 19:53:31 +0000 Commit: Alexander Leidinger <[email protected]> CommitDate: 2026-08-03 17:29:26 +0000 tests/sys/pmc: only build if MK_PMC != no This unbreaks the build when pmc support is explicitly disabled via the aforementioned build knob. MFC after: 10 days Fixes: 2cfd82f74 ("hwpmc: add regression tests for ...") Differential Revision: https://reviews.freebsd.org/D58401 (cherry picked from commit a18e773d2776a65c1a2a0418cbec9cf5ef526b53) --- tests/sys/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/sys/Makefile b/tests/sys/Makefile index e3589efa14c3..438625683360 100644 --- a/tests/sys/Makefile +++ b/tests/sys/Makefile @@ -29,7 +29,7 @@ TESTS_SUBDIRS+= netlink TESTS_SUBDIRS+= netmap TESTS_SUBDIRS+= netpfil TESTS_SUBDIRS+= opencrypto -TESTS_SUBDIRS+= pmc +TESTS_SUBDIRS+= ${_pmc} TESTS_SUBDIRS+= posixshm TESTS_SUBDIRS+= ses TESTS_SUBDIRS+= sound @@ -50,6 +50,10 @@ _cddl= cddl _netgraph= netgraph .endif +.if ${MK_PMC} != "no" +_pmc= pmc +.endif + # Items not integrated into kyua runs by default SUBDIR+= pjdfstest