mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 21:12:43 +00: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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
9 lines
362 B
Makefile
9 lines
362 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
obj-$(CONFIG_GCD_KUNIT_TEST) += gcd_kunit.o
|
|
obj-$(CONFIG_INT_LOG_KUNIT_TEST) += int_log_kunit.o
|
|
obj-$(CONFIG_INT_POW_KUNIT_TEST) += int_pow_kunit.o
|
|
obj-$(CONFIG_INT_SQRT_KUNIT_TEST) += int_sqrt_kunit.o
|
|
obj-$(CONFIG_PRIME_NUMBERS_KUNIT_TEST) += prime_numbers_kunit.o
|
|
obj-$(CONFIG_RATIONAL_KUNIT_TEST) += rational_kunit.o
|