diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-09-17 16:52:24 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-09-17 16:52:24 +0200 |
commit | 194fcd20ebccbc34bba80d7d9b203920087bb01d (patch) | |
tree | 6c42dc2a7b1facd907b82bf214785d875180b6c6 /lib/Kconfig.debug | |
parent | Merge tag 'linux_kselftest-next-6.12-rc1' of git://git.kernel.org/pub/scm/lin... (diff) | |
parent | lib/math: Add int_pow test suite (diff) | |
download | linux-194fcd20ebccbc34bba80d7d9b203920087bb01d.tar.xz linux-194fcd20ebccbc34bba80d7d9b203920087bb01d.zip |
Merge tag 'linux_kselftest-kunit-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull kunit updates from Shuah Khan:
- a new int_pow test suite
- documentation update to clarify filename best practices
- kernel-doc fix for EXPORT_SYMBOL_IF_KUNIT
- change to build compile_commands.json automatically instead of
requiring a manual build
* tag 'linux_kselftest-kunit-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
lib/math: Add int_pow test suite
kunit: tool: Build compile_commands.json
kunit: Fix kernel-doc for EXPORT_SYMBOL_IF_KUNIT
Documentation: KUnit: Update filename best practices
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 26354671b37d..074ca51b7ea5 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -3059,3 +3059,19 @@ config RUST_KERNEL_DOCTESTS endmenu # "Rust" endmenu # Kernel hacking + +config INT_POW_TEST + tristate "Integer exponentiation (int_pow) test" if !KUNIT_ALL_TESTS + depends on KUNIT + default KUNIT_ALL_TESTS + help + This option enables the KUnit test suite for the int_pow function, + which performs integer exponentiation. The test suite is designed to + verify that the implementation of int_pow correctly computes the power + of a given base raised to a given exponent. + + Enabling this option will include tests that check various scenarios + and edge cases to ensure the accuracy and reliability of the exponentiation + function. + + If unsure, say N |