File tree Expand file tree Collapse file tree 8 files changed +134
-141
lines changed
tools/testing/selftests/lib Expand file tree Collapse file tree 8 files changed +134
-141
lines changed Original file line number Diff line number Diff line change 25411
25411
S: Maintained
25412
25412
T: git git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git
25413
25413
F: Documentation/core-api/printk-formats.rst
25414
- F: lib/test_scanf.c
25415
25414
F: lib/tests/printf_kunit.c
25415
+ F: lib/tests/scanf_kunit.c
25416
25416
F: lib/vsprintf.c
25417
25417
25418
25418
VT1211 HARDWARE MONITOR DRIVER
Original file line number Diff line number Diff line change @@ -2436,6 +2436,15 @@ config PRINTF_KUNIT_TEST
2436
2436
2437
2437
If unsure, say N.
2438
2438
2439
+ config SCANF_KUNIT_TEST
2440
+ tristate "KUnit test scanf() family of functions at runtime" if !KUNIT_ALL_TESTS
2441
+ depends on KUNIT
2442
+ default KUNIT_ALL_TESTS
2443
+ help
2444
+ Enable this option to test the scanf functions at runtime.
2445
+
2446
+ If unsure, say N.
2447
+
2439
2448
config STRING_KUNIT_TEST
2440
2449
tristate "KUnit test string functions at runtime" if !KUNIT_ALL_TESTS
2441
2450
depends on KUNIT
@@ -2449,9 +2458,6 @@ config STRING_HELPERS_KUNIT_TEST
2449
2458
config TEST_KSTRTOX
2450
2459
tristate "Test kstrto*() family of functions at runtime"
2451
2460
2452
- config TEST_SCANF
2453
- tristate "Test scanf() family of functions at runtime"
2454
-
2455
2461
config TEST_BITMAP
2456
2462
tristate "Test bitmap_*() family of functions at runtime"
2457
2463
help
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ obj-$(CONFIG_TEST_RHASHTABLE) += test_rhashtable.o
77
77
obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_keys.o
78
78
obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_key_base.o
79
79
obj-$(CONFIG_TEST_DYNAMIC_DEBUG) += test_dynamic_debug.o
80
- obj-$(CONFIG_TEST_SCANF) += test_scanf.o
81
80
82
81
obj-$(CONFIG_TEST_BITMAP) += test_bitmap.o
83
82
ifeq ($(CONFIG_CC_IS_CLANG )$(CONFIG_KASAN ) ,yy)
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ obj-$(CONFIG_MEMCPY_KUNIT_TEST) += memcpy_kunit.o
30
30
CFLAGS_overflow_kunit.o = $(call cc-disable-warning, tautological-constant-out-of-range-compare)
31
31
obj-$(CONFIG_OVERFLOW_KUNIT_TEST) += overflow_kunit.o
32
32
obj-$(CONFIG_PRINTF_KUNIT_TEST) += printf_kunit.o
33
+ obj-$(CONFIG_SCANF_KUNIT_TEST) += scanf_kunit.o
33
34
obj-$(CONFIG_SIPHASH_KUNIT_TEST) += siphash_kunit.o
34
35
obj-$(CONFIG_SLUB_KUNIT_TEST) += slub_kunit.o
35
36
obj-$(CONFIG_TEST_SORT) += test_sort.o
You can’t perform that action at this time.
0 commit comments