* [PATCH] lib/842: depend on the decompressor for KUnit tests
@ 2026-09-17 5:56 Karl Mehltretter
2026-09-21 7:56 ` David Gow
2026-09-23 8:51 ` Herbert Xu
0 siblings, 2 replies; 3+ messages in thread
From: Karl Mehltretter @ 2026-09-17 5:56 UTC (permalink / raw)
To: Herbert Xu
Cc: Karl Mehltretter, Haren Myneni, Dan Streetman, Andrew Morton,
linux-crypto, Geert Uytterhoeven, Brendan Higgins, David Gow,
Rae Moar, linux-kselftest, kunit-dev, linux-kernel
842_DECOMPRESS_KUNIT_TEST selects the decompressor even when no other
option needs it, including through KUNIT_ALL_TESTS.
Depend on 842_DECOMPRESS as required by
Documentation/dev-tools/kunit/style.rst. This also prevents the test from
promoting a modular decompressor to built-in.
Fixes: cca072cb1423 ("lib/842: add KUnit tests for the decompressor")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Closes: https://lore.kernel.org/r/CAMuHMdVcZ5cV4-HrjLYfFKh6UshiVxq5eXCNyp0Z1k_SMAvF5g@mail.gmail.com/
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
Follow-up to the accepted commit, based on cryptodev-2.6/master.
Testing: Checked Kconfig dependency resolution for eight x86_64
configurations before and after the change, including KUNIT_ALL_TESTS
and modular/built-in combinations.
lib/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 48201092b3df..49f74005394b 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -2228,7 +2228,7 @@ if RUNTIME_TESTING_MENU
config 842_DECOMPRESS_KUNIT_TEST
tristate "KUnit tests for the 842 decompressor" if !KUNIT_ALL_TESTS
depends on KUNIT
- select 842_DECOMPRESS
+ depends on 842_DECOMPRESS
default KUNIT_ALL_TESTS
help
Enable stream-validation and boundary tests for the software 842
base-commit: 9e06d371730b841ad8fe79ebfccf0def9470201f
--
2.39.5 (Apple Git-154)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] lib/842: depend on the decompressor for KUnit tests
2026-09-17 5:56 [PATCH] lib/842: depend on the decompressor for KUnit tests Karl Mehltretter
@ 2026-09-21 7:56 ` David Gow
2026-09-23 8:51 ` Herbert Xu
1 sibling, 0 replies; 3+ messages in thread
From: David Gow @ 2026-09-21 7:56 UTC (permalink / raw)
To: Karl Mehltretter, Herbert Xu
Cc: Haren Myneni, Dan Streetman, Andrew Morton, linux-crypto,
Geert Uytterhoeven, Brendan Higgins, Rae Moar, linux-kselftest,
kunit-dev, linux-kernel
Le 17/09/2026 à 13:56, Karl Mehltretter a écrit :
> 842_DECOMPRESS_KUNIT_TEST selects the decompressor even when no other
> option needs it, including through KUNIT_ALL_TESTS.
>
> Depend on 842_DECOMPRESS as required by
> Documentation/dev-tools/kunit/style.rst. This also prevents the test from
> promoting a modular decompressor to built-in.
>
> Fixes: cca072cb1423 ("lib/842: add KUnit tests for the decompressor")
> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Closes: https://lore.kernel.org/r/CAMuHMdVcZ5cV4-HrjLYfFKh6UshiVxq5eXCNyp0Z1k_SMAvF5g@mail.gmail.com/
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
> ---
> Follow-up to the accepted commit, based on cryptodev-2.6/master.
>
> Testing: Checked Kconfig dependency resolution for eight x86_64
> configurations before and after the change, including KUNIT_ALL_TESTS
> and modular/built-in combinations.
>
Thanks!
Acked-by: David Gow <david@davidgow.net>
-- David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] lib/842: depend on the decompressor for KUnit tests
2026-09-17 5:56 [PATCH] lib/842: depend on the decompressor for KUnit tests Karl Mehltretter
2026-09-21 7:56 ` David Gow
@ 2026-09-23 8:51 ` Herbert Xu
1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2026-09-23 8:51 UTC (permalink / raw)
To: Karl Mehltretter
Cc: Haren Myneni, Dan Streetman, Andrew Morton, linux-crypto,
Geert Uytterhoeven, Brendan Higgins, David Gow, Rae Moar,
linux-kselftest, kunit-dev, linux-kernel
On Thu, Sep 17, 2026 at 07:56:45AM +0200, Karl Mehltretter wrote:
> 842_DECOMPRESS_KUNIT_TEST selects the decompressor even when no other
> option needs it, including through KUNIT_ALL_TESTS.
>
> Depend on 842_DECOMPRESS as required by
> Documentation/dev-tools/kunit/style.rst. This also prevents the test from
> promoting a modular decompressor to built-in.
>
> Fixes: cca072cb1423 ("lib/842: add KUnit tests for the decompressor")
> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Closes: https://lore.kernel.org/r/CAMuHMdVcZ5cV4-HrjLYfFKh6UshiVxq5eXCNyp0Z1k_SMAvF5g@mail.gmail.com/
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
> ---
> Follow-up to the accepted commit, based on cryptodev-2.6/master.
>
> Testing: Checked Kconfig dependency resolution for eight x86_64
> configurations before and after the change, including KUNIT_ALL_TESTS
> and modular/built-in combinations.
>
> lib/Kconfig.debug | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-23 8:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 5:56 [PATCH] lib/842: depend on the decompressor for KUnit tests Karl Mehltretter
2026-09-21 7:56 ` David Gow
2026-09-23 8:51 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®