Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lib/Kconfig.debug: move int_pow test option to runtime testing section

When executing 'make menuconfig' with KUNIT enabled, the int_pow test
option appears on the first page of the main menu instead of under the
runtime testing section. Relocate the int_pow test configuration to the
appropriate runtime testing submenu, ensuring a more organized and logical
structure in the menu configuration.

Link: https://lkml.kernel.org/r/20241005222221.2154393-1-visitorckw@gmail.com
Fixes: 7fcc9b53216c ("lib/math: Add int_pow test suite")
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Cc: Ching-Chun (Jim) Huang <jserv@ccns.ncku.edu.tw>
Cc: David Gow <davidgow@google.com>
Cc: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Kuan-Wei Chiu and committed by
Andrew Morton
b4216642 3240aada

+16 -16
+16 -16
lib/Kconfig.debug
··· 2993 2993 2994 2994 If unsure, say N. 2995 2995 2996 + config INT_POW_TEST 2997 + tristate "Integer exponentiation (int_pow) test" if !KUNIT_ALL_TESTS 2998 + depends on KUNIT 2999 + default KUNIT_ALL_TESTS 3000 + help 3001 + This option enables the KUnit test suite for the int_pow function, 3002 + which performs integer exponentiation. The test suite is designed to 3003 + verify that the implementation of int_pow correctly computes the power 3004 + of a given base raised to a given exponent. 3005 + 3006 + Enabling this option will include tests that check various scenarios 3007 + and edge cases to ensure the accuracy and reliability of the exponentiation 3008 + function. 3009 + 3010 + If unsure, say N 3011 + 2996 3012 endif # RUNTIME_TESTING_MENU 2997 3013 2998 3014 config ARCH_USE_MEMTEST ··· 3104 3088 endmenu # "Rust" 3105 3089 3106 3090 endmenu # Kernel hacking 3107 - 3108 - config INT_POW_TEST 3109 - tristate "Integer exponentiation (int_pow) test" if !KUNIT_ALL_TESTS 3110 - depends on KUNIT 3111 - default KUNIT_ALL_TESTS 3112 - help 3113 - This option enables the KUnit test suite for the int_pow function, 3114 - which performs integer exponentiation. The test suite is designed to 3115 - verify that the implementation of int_pow correctly computes the power 3116 - of a given base raised to a given exponent. 3117 - 3118 - Enabling this option will include tests that check various scenarios 3119 - and edge cases to ensure the accuracy and reliability of the exponentiation 3120 - function. 3121 - 3122 - If unsure, say N