kunit: configs: Enable all CRC tests in all_tests.config
Subsystems (2)
PATCH 1/1 kunit: configs: Enable all CRC tests in all_tests.config
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.
---
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/[email protected]/
which does the same for the crypto library tests.
tools/testing/kunit/configs/all_tests.config | 2 ++ 1 file changed, 2 insertions(+)
tools/testing/kunit/configs/all_tests.config +2 -0
@@ -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
Signature · 1 line
2.53.0
Quoted 12 lines · Eric Biggers
The new option
CONFIG_CRC_ENABLE_ALL_FOR_KUNITenables all the CRC code that has KUnit tests, causingCONFIG_KUNIT_ALL_TESTSto enable all these tests. Add this option to all_tests.config so thatkunit.pywill run them when passed the --alltests option.Signed-off-by Eric Biggers <[email protected]>---
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 addingCONFIG_CRC_ENABLE_ALL_FOR_KUNIT.
Quoted 7 lines
Note that patch also mirrors
https://lore.kernel.org/linux-crypto/[email protected]/
which does the same for the crypto library tests.tools/testing/kunit/configs/all_tests.config | 2 ++ 1 file changed, 2 insertions(+)
Quoted 22 lines
tools/testing/kunit/configs/all_tests.config +2
-0@@ -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=ybase-commit:
c13cee2fc7f137dd25ed50c63eddcc578624f204Signature · 1 line
2.53.0
Eric Biggers
AppliedQuoted 8 lines · Eric Biggers
The new option
CONFIG_CRC_ENABLE_ALL_FOR_KUNITenables all the CRC code that has KUnit tests, causingCONFIG_KUNIT_ALL_TESTSto enable all these tests. Add this option to all_tests.config so thatkunit.pywill run them when passed the --alltests option.Signed-off-by Eric Biggers <[email protected]>---
Quoted 7 lines
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 addingCONFIG_CRC_ENABLE_ALL_FOR_KUNIT.Note that patch also mirrors
https://lore.kernel.org/linux-crypto/[email protected]/
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