File tree Expand file tree Collapse file tree 4 files changed +101
-125
lines changed Expand file tree Collapse file tree 4 files changed +101
-125
lines changed Original file line number Diff line number Diff line change @@ -8978,7 +8978,7 @@ F: include/linux/string_helpers.h
8978
8978
F: lib/string.c
8979
8979
F: lib/string_kunit.c
8980
8980
F: lib/string_helpers.c
8981
- F: lib/test-string_helpers .c
8981
+ F: lib/string_helpers_kunit .c
8982
8982
F: scripts/coccinelle/api/string_choices.cocci
8983
8983
8984
8984
GENERIC UIO DRIVER FOR PCI DEVICES
Original file line number Diff line number Diff line change @@ -2357,8 +2357,10 @@ config STRING_KUNIT_TEST
2357
2357
depends on KUNIT
2358
2358
default KUNIT_ALL_TESTS
2359
2359
2360
- config TEST_STRING_HELPERS
2361
- tristate "Test functions located in the string_helpers module at runtime"
2360
+ config STRING_HELPERS_KUNIT_TEST
2361
+ tristate "KUnit test string helpers at runtime" if !KUNIT_ALL_TESTS
2362
+ depends on KUNIT
2363
+ default KUNIT_ALL_TESTS
2362
2364
2363
2365
config TEST_KSTRTOX
2364
2366
tristate "Test kstrto*() family of functions at runtime"
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ obj-y += bcd.o sort.o parser.o debug_locks.o random32.o \
51
51
generic-radix-tree.o bitmap-str.o
52
52
obj-$(CONFIG_STRING_KUNIT_TEST) += string_kunit.o
53
53
obj-y += string_helpers.o
54
- obj-$(CONFIG_TEST_STRING_HELPERS ) += test-string_helpers .o
54
+ obj-$(CONFIG_STRING_HELPERS_KUNIT_TEST ) += string_helpers_kunit .o
55
55
obj-y += hexdump.o
56
56
obj-$(CONFIG_TEST_HEXDUMP) += test_hexdump.o
57
57
obj-y += kstrtox.o
You can’t perform that action at this time.
0 commit comments