Skip to content

Commit 4ea404f

Browse files
brooniekees
authored andcommitted
lib: Ensure prime numbers tests are included in KUnit test runs
When the select of PRIME_MUMBERS was removed from it's KUnit test Kconfig nothing was added to the KUnit configs, meaning that when run via the KUnit runner the tests are neither built nor run. Add PRIME_NUMBERS to all_tests.config so they are enabled when the KUnit runner builds the kernel. Fixes: 3f29251 ("lib/prime_numbers: KUnit test should not select PRIME_NUMBERS") Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20250422-lib-fix-prime-numbers-kunit-v1-1-4278c1d4a4ae@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
1 parent 3f29251 commit 4ea404f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/testing/kunit/configs/all_tests.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ CONFIG_REGMAP_BUILD=y
4343

4444
CONFIG_AUDIT=y
4545

46+
CONFIG_PRIME_NUMBERS=y
47+
4648
CONFIG_SECURITY=y
4749
CONFIG_SECURITY_APPARMOR=y
4850
CONFIG_SECURITY_LANDLOCK=y

0 commit comments

Comments
 (0)