* [PATCH] kunit: configs: Enable all CRC tests in all_tests.config
@ 2026-03-14 17:22 Eric Biggers
2026-03-17 11:07 ` Ard Biesheuvel
2026-03-17 16:30 ` Eric Biggers
0 siblings, 2 replies; 3+ messages in thread
From: Eric Biggers @ 2026-03-14 17:22 UTC (permalink / raw)
To: linux-kernel
Cc: linux-crypto, Ard Biesheuvel, kunit-dev, Brendan Higgins,
David Gow, Rae Moar, Eric Biggers
The new option CONFIG_CRC_ENABLE_ALL_FOR_KUNIT enables all the CRC code
that has KUnit tests, causing CONFIG_KUNIT_ALL_TESTS to enable all these
tests. Add this option to all_tests.config so that kunit.py will run
them when passed the --alltests option.
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
---
This patch is targeting crc-next
(https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=crc-next)
which has the commit adding CONFIG_CRC_ENABLE_ALL_FOR_KUNIT.
Note that patch also mirrors
https://lore.kernel.org/linux-crypto/20260314035927.51351-3-ebiggers@kernel.org/
which does the same for the crypto library tests.
tools/testing/kunit/configs/all_tests.config | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/kunit/configs/all_tests.config b/tools/testing/kunit/configs/all_tests.config
index 422e186cf3cf1..c1d3659a41cf0 100644
--- a/tools/testing/kunit/configs/all_tests.config
+++ b/tools/testing/kunit/configs/all_tests.config
@@ -44,10 +44,12 @@ CONFIG_REGMAP_BUILD=y
CONFIG_AUDIT=y
CONFIG_PRIME_NUMBERS=y
+CONFIG_CRC_ENABLE_ALL_FOR_KUNIT=y
+
CONFIG_SECURITY=y
CONFIG_SECURITY_APPARMOR=y
CONFIG_SECURITY_LANDLOCK=y
CONFIG_SOUND=y
base-commit: c13cee2fc7f137dd25ed50c63eddcc578624f204
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] kunit: configs: Enable all CRC tests in all_tests.config
2026-03-14 17:22 [PATCH] kunit: configs: Enable all CRC tests in all_tests.config Eric Biggers
@ 2026-03-17 11:07 ` Ard Biesheuvel
2026-03-17 16:30 ` Eric Biggers
1 sibling, 0 replies; 3+ messages in thread
From: Ard Biesheuvel @ 2026-03-17 11:07 UTC (permalink / raw)
To: Eric Biggers, linux-kernel
Cc: linux-crypto, kunit-dev, Brendan Higgins, David Gow, Rae Moar
On Sat, 14 Mar 2026, at 18:22, Eric Biggers wrote:
> The new option CONFIG_CRC_ENABLE_ALL_FOR_KUNIT enables all the CRC code
> that has KUnit tests, causing CONFIG_KUNIT_ALL_TESTS to enable all these
> tests. Add this option to all_tests.config so that kunit.py will run
> them when passed the --alltests option.
>
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
>
> This patch is targeting crc-next
> (https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=crc-next)
> which has the commit adding CONFIG_CRC_ENABLE_ALL_FOR_KUNIT.
>
> Note that patch also mirrors
> https://lore.kernel.org/linux-crypto/20260314035927.51351-3-ebiggers@kernel.org/
> which does the same for the crypto library tests.
>
> tools/testing/kunit/configs/all_tests.config | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
> diff --git a/tools/testing/kunit/configs/all_tests.config
> b/tools/testing/kunit/configs/all_tests.config
> index 422e186cf3cf1..c1d3659a41cf0 100644
> --- a/tools/testing/kunit/configs/all_tests.config
> +++ b/tools/testing/kunit/configs/all_tests.config
> @@ -44,10 +44,12 @@ CONFIG_REGMAP_BUILD=y
>
> CONFIG_AUDIT=y
>
> CONFIG_PRIME_NUMBERS=y
>
> +CONFIG_CRC_ENABLE_ALL_FOR_KUNIT=y
> +
> CONFIG_SECURITY=y
> CONFIG_SECURITY_APPARMOR=y
> CONFIG_SECURITY_LANDLOCK=y
>
> CONFIG_SOUND=y
>
> base-commit: c13cee2fc7f137dd25ed50c63eddcc578624f204
> --
> 2.53.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kunit: configs: Enable all CRC tests in all_tests.config
2026-03-14 17:22 [PATCH] kunit: configs: Enable all CRC tests in all_tests.config Eric Biggers
2026-03-17 11:07 ` Ard Biesheuvel
@ 2026-03-17 16:30 ` Eric Biggers
1 sibling, 0 replies; 3+ messages in thread
From: Eric Biggers @ 2026-03-17 16:30 UTC (permalink / raw)
To: linux-kernel
Cc: linux-crypto, Ard Biesheuvel, kunit-dev, Brendan Higgins,
David Gow, Rae Moar
On Sat, Mar 14, 2026 at 10:22:24AM -0700, Eric Biggers wrote:
> The new option CONFIG_CRC_ENABLE_ALL_FOR_KUNIT enables all the CRC code
> that has KUnit tests, causing CONFIG_KUNIT_ALL_TESTS to enable all these
> tests. Add this option to all_tests.config so that kunit.py will run
> them when passed the --alltests option.
>
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
>
> This patch is targeting crc-next
> (https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=crc-next)
> which has the commit adding CONFIG_CRC_ENABLE_ALL_FOR_KUNIT.
>
> Note that patch also mirrors
> https://lore.kernel.org/linux-crypto/20260314035927.51351-3-ebiggers@kernel.org/
> which does the same for the crypto library tests.
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=crc-next
- Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-17 16:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14 17:22 [PATCH] kunit: configs: Enable all CRC tests in all_tests.config Eric Biggers
2026-03-17 11:07 ` Ard Biesheuvel
2026-03-17 16:30 ` Eric Biggers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox