Page MenuHomeFreeBSD

tests/sys/pmc: only build if MK_PMC != no
ClosedPublic

Authored by ngie on Wed, Jul 22, 8:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 31, 5:52 AM
Unknown Object (File)
Wed, Jul 29, 4:26 PM
Unknown Object (File)
Wed, Jul 29, 10:59 AM
Unknown Object (File)
Tue, Jul 28, 5:56 PM
Unknown Object (File)
Tue, Jul 28, 5:31 AM
Unknown Object (File)
Tue, Jul 28, 4:36 AM
Unknown Object (File)
Mon, Jul 27, 10:59 AM
Unknown Object (File)
Mon, Jul 27, 1:16 AM
Subscribers

Details

Summary

This unbreaks the build when pmc support is explicitly disabled via the
beforementioned build knob.

MFC after: 11 days
Fixes: 2cfd82f74 ("hwpmc: add regression tests for ...")

Test Plan

The directory continues to build on my system where MK_PMC != no, but is no longer built on my system where MK_PMC == no.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75022
Build 71905: arc lint + arc unit