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)
Jan 13 2024, 4:00 AM
Unknown Object (File)
Dec 20 2023, 6:59 AM
Unknown Object (File)
Dec 11 2023, 12:41 PM
Unknown Object (File)
Nov 22 2023, 6:36 AM
Unknown Object (File)
Nov 8 2023, 2:54 AM
Unknown Object (File)
Sep 21 2023, 3:55 AM
Unknown Object (File)
Jun 29 2023, 6:52 AM
Unknown Object (File)
May 3 2023, 10:40 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.