Page MenuHomeFreeBSD

Expose <sys/systm.h> kernel decls to sysunit tests
AbandonedPublic

Authored by rstone on Jan 25 2022, 9:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 11:25 PM
Unknown Object (File)
Fri, Dec 6, 1:45 AM
Unknown Object (File)
Nov 25 2024, 11:18 AM
Unknown Object (File)
Nov 25 2024, 4:56 AM
Unknown Object (File)
Nov 22 2024, 8:33 AM
Unknown Object (File)
Nov 22 2024, 6:17 AM
Unknown Object (File)
Nov 15 2024, 12:57 PM
Unknown Object (File)
Nov 11 2024, 4:02 PM
Subscribers

Details

Reviewers
vangyzen
imp

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44093
Build 40981: arc lint + arc unit

Event Timeline

btw, same comment for all, but this matches the suggestions that came out of the IRC discussions...

This revision is now accepted and ready to land.Jan 25 2022, 9:59 PM
sys/sys/systm.h
116

_KERNEL || _KERNEL_UT

Missed because it was wrong already?

(I like vim's % command for finding the matching #if / #endif.)

glebius@ has requested a different approach where unit tests define _KERNEL and opt out of the KPI symbols that they don't want, rather than opting into the symbols that they do want.