mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
synced 2025-09-15 09:07:11 +10:00
Extract a private header and convert the prime_numbers self-test to a KUnit test. I considered parameterizing the test using `KUNIT_CASE_PARAM` but didn't see how it was possible since the test logic is entangled with the test parameter generation logic. Signed-off-by: Tamir Duberstein <tamird@gmail.com> Link: https://lore.kernel.org/r/20250208-prime_numbers-kunit-convert-v5-2-b0cb82ae7c7d@gmail.com Signed-off-by: Kees Cook <kees@kernel.org> |
||
---|---|---|
.. | ||
tests | ||
cordic.c | ||
div64.c | ||
gcd.c | ||
int_log.c | ||
int_pow.c | ||
int_sqrt.c | ||
Kconfig | ||
lcm.c | ||
Makefile | ||
prime_numbers_private.h | ||
prime_numbers.c | ||
rational.c | ||
reciprocal_div.c | ||
test_div64.c | ||
test_mul_u64_u64_div_u64.c |