Ensure that sys/sysctl.h can be included standalone.
Sponsored by: Netflix
Differential D32496
test: sys/sysctl.h is standalone imp on Oct 14 2021, 3:11 PM. Authored by Tags None Referenced Files
Subscribers
Details
Diff Detail
Event Timeline
Comment Actions I'm torn... on the one hand I like the idea of building this during MK_TESTS=yes because the build will fail if you break it. I'd personally lean towards breaking the build of the tests, but I'm easy. Comment Actions There are/were other facilities in ATF that supported compile-time testing, but I think they should be removed, not expanded on. Maybe it makes sense to instead run cpp and look at the headers output instead of doing this? Comment Actions Also, this seems like (and I'm going to regret saying this) something that a system like autoconf might excel at (*shudders*). Comment Actions It's because of lame autoconf systems that make lame assumptions that I'm doing this... the tests im adding won't be in atf: they will be part of buildworld... |