Re: [PATCH] lib: Move crypto library tests to Runtime Testing menu

Eric Biggers
2026-03-24T23:27:44Z

On Sat, Mar 21, 2026 at 08:24:38PM -0700, Eric Biggers wrote:
> Currently the kconfig options for the crypto library KUnit tests appear
> in the menu:
>
> -> Library routines
> -> Crypto library routines
>
> However, this is the only content of "Crypto library routines". I.e.,
> it is empty when CONFIG_KUNIT=n. This is because the crypto library
> routines themselves don't have (or need to have) prompts.
>
> Since this usually ends up as an unnecessary empty menu, let's remove
> this menu and instead source the lib/crypto/tests/Kconfig file from
> lib/Kconfig.debug inside the "Runtime Testing" menu:
>
> -> Kernel hacking
> -> Kernel Testing and Coverage
> -> Runtime Testing
>
> This puts the prompts alongside the ones for most of the other lib/
> KUnit tests. This seems to be a much better match to how the kconfig
> menus are organized.
>
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
>
> This patch is targeting the libcrypto-next tree
>
> lib/Kconfig.debug | 2 ++
> lib/crypto/Kconfig | 6 ------
> 2 files changed, 2 insertions(+), 6 deletions(-)

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next

- Eric