This adds unit tests for all 70 functions in <stdbit.h>.
I'm sorry for the test framework, but it makes it so I don't
have to write 70 unit tests by hand.
Differential D53660
libc/tests: add stdbit test framework and unit tests Authored by fuz on Mon, Nov 10, 9:35 AM. Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions
Comment Actions I just remembered that you need to add an stdbit directory to etc/mtree/BSD.tests.mk: --- a/etc/mtree/BSD.tests.dist +++ b/etc/mtree/BSD.tests.dist @@ -382,6 +382,8 @@ .. ssp .. + stdbit + .. stdio .. stdlib | ||||||||||||||||||||||||||||||||||||||