[PATCH 0/2] Make 'kunit.py run --alltests' run all crypto library tests

From: Eric Biggers

Date: Sat Mar 14 2026 - 00:00:58 EST


This series makes the KUnit all_tests.config enable all the crypto
library options that have KUnit tests, so that all these tests will be
run in testing systems use 'kunit.py run --alltests'. (For example,
KernelCI is planned to start doing that [1].) To do this easily in both
that file and in lib/crypto/.kunitconfig, introduce a kconfig option
CRYPTO_LIB_ENABLE_ALL_FOR_KUNIT for this purpose.

This series is targeting libcrypto-next.

[1] https://lore.kernel.org/kernelci/4fd302e0-ffa7-4bbf-a94a-c8879fde32f4@xxxxxxxxxxxxx

Eric Biggers (2):
lib/crypto: tests: Introduce CRYPTO_LIB_ENABLE_ALL_FOR_KUNIT
kunit: configs: Enable all crypto library tests in all_tests.config

lib/crypto/.kunitconfig | 22 +-----------------
lib/crypto/tests/Kconfig | 24 ++++++++++++++++++++
tools/testing/kunit/configs/all_tests.config | 2 ++
3 files changed, 27 insertions(+), 21 deletions(-)


base-commit: ce260754bb435aea18e6a1a1ce3759249013f5a4
--
2.53.0