lib: Ensure prime numbers tests are included in KUnit test runs
authorMark Brown <broonie@kernel.org>
Tue, 22 Apr 2025 15:43:29 +0000 (16:43 +0100)
committerKees Cook <kees@kernel.org>
Tue, 22 Apr 2025 15:48:10 +0000 (08:48 -0700)
commit4ea404fdbc39971814cd3eb36b43c11fb6f32e17
tree0d65d9f0190bfa3e779e371f7262b5b23d05c204
parent3f2925174f8bd811f9399cb4049f6b75fd2fba91
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: 3f2925174f8b ("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>
tools/testing/kunit/configs/all_tests.config