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

(cherry picked from commit 49390697b9265d08d3f831cf38cdc2f79e216c48)

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
rG93f39b467586: iflib: Unlock ctx lock around call to ether_ifattach()
Branches
Loading...
Tags
Loading...