Skip to contentSkip to conversation

lib/test_string.c: move string selftest in the Runtime Testing menu

PATCH Applied Matteo Croce 1 participant 1 message Jul 19, 2021 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/test_string.c: move string selftest in the Runtime Testing menu

From: Matteo Croce <[email protected]>

STRING_SELFTEST is presented in the "Library routines" menu. Move it in Kernel hacking > Kernel Testing and Coverage > Runtime Testing together with other similar tests found in lib/

--- Runtime Testing
<*> Test functions located in the hexdump module at runtime
<*> Test string functions (NEW)
<*> Test functions located in the string_helpers module at runtime
<*> Test strscpy*() family of functions at runtime
<*> Test kstrto*() family of functions at runtime
<*> Test printf() family of functions at runtime
<*> Test scanf() family of functions at runtime

---
 lib/Kconfig       | 3 ---
 lib/Kconfig.debug | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)
lib/Kconfig +0 -3
index d241fe476fda..5c9c0687f76d 100644
@@ -683,9 +683,6 @@ config PARMAN
 config OBJAGG
 	tristate "objagg" if COMPILE_TEST
 
-config STRING_SELFTEST
-	tristate "Test string functions"
-
 endmenu
 
 config GENERIC_IOREMAP
lib/Kconfig.debug +3 -0
index 831212722924..5ddd575159fb 100644
@@ -2180,6 +2180,9 @@ config ASYNC_RAID6_TEST
 config TEST_HEXDUMP
 	tristate "Test functions located in the hexdump module at runtime"
 
+config STRING_SELFTEST
+	tristate "Test string functions at runtime"
+
 config TEST_STRING_HELPERS
 	tristate "Test functions located in the string_helpers module at runtime"
 
Signature · 1 line
2.31.1