aboutsummaryrefslogtreecommitdiff
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorRichard Fitzgerald2021-05-14 17:12:05 +0100
committerPetr Mladek2021-05-19 15:05:11 +0200
commit50f530e176eac808e64416732e54c0686ce2c39b (patch)
tree7d815b48b9cf02bbb20c3383fee83c594d7a75b5 /lib/Kconfig.debug
parent900fdc4573766dd43b847b4f54bd4a1ee2bc7360 (diff)
lib: test_scanf: Add tests for sscanf number conversion
Adds test_sscanf to test various number conversion cases, as number conversion was previously broken. This also tests the simple_strtoxxx() functions exported from vsprintf.c. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20210514161206.30821-3-rf@opensource.cirrus.com
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 2c7f46b366f1..dc437a171c0f 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -2163,6 +2163,9 @@ config TEST_KSTRTOX
config TEST_PRINTF
tristate "Test printf() family of functions at runtime"
+config TEST_SCANF
+ tristate "Test scanf() family of functions at runtime"
+
config TEST_BITMAP
tristate "Test bitmap_*() family of functions at runtime"
help