diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2026-07-22 19:53:31 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2026-07-23 20:10:32 +0000 |
| commit | a18e773d2776a65c1a2a0418cbec9cf5ef526b53 (patch) | |
| tree | c4fdbe1106b6fd6db4dfbf034eae78349b21b34b | |
| parent | 3f521425afcb79a623753c171bf6f3296cd556ec (diff) | |
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
| -rw-r--r-- | tests/sys/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/sys/Makefile b/tests/sys/Makefile index 7e7f35ded73f..f92ef36b2d40 100644 --- a/tests/sys/Makefile +++ b/tests/sys/Makefile @@ -30,7 +30,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 @@ -51,6 +51,10 @@ _cddl= cddl _netgraph= netgraph .endif +.if ${MK_PMC} != "no" +_pmc= pmc +.endif + # Items not integrated into kyua runs by default SUBDIR+= pjdfstest |
