HomeFreeBSD

lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll

Description

lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll

Also supply CFLAGS+=-fno-builtin to ensure our unit tests
actually test libc functions and not clang's builtins.

Sponsored by: FreeBSD Foundation
Approved by: kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D40729

Details

Provenance
fuzAuthored on Jun 23 2023, 5:26 PM
Differential Revision
D40729: lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll
Parents
rGe8423423737e: pf tests: test double-pass codel
Branches
Unknown
Tags
Unknown