diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2021-05-14 17:12:05 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2021-05-19 15:05:11 +0200 |
commit | 50f530e176eac808e64416732e54c0686ce2c39b (patch) | |
tree | 7d815b48b9cf02bbb20c3383fee83c594d7a75b5 /lib/Makefile | |
parent | 900fdc4573766dd43b847b4f54bd4a1ee2bc7360 (diff) | |
download | linux-50f530e176eac808e64416732e54c0686ce2c39b.tar.gz linux-50f530e176eac808e64416732e54c0686ce2c39b.tar.bz2 linux-50f530e176eac808e64416732e54c0686ce2c39b.zip |
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/Makefile')
-rw-r--r-- | lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index e11cfc18b6c0..5f7f246241b1 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -83,6 +83,7 @@ obj-$(CONFIG_TEST_USER_COPY) += test_user_copy.o obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_keys.o obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_key_base.o obj-$(CONFIG_TEST_PRINTF) += test_printf.o +obj-$(CONFIG_TEST_SCANF) += test_scanf.o obj-$(CONFIG_TEST_BITMAP) += test_bitmap.o obj-$(CONFIG_TEST_STRSCPY) += test_strscpy.o obj-$(CONFIG_TEST_UUID) += test_uuid.o |