lib/list_kunit: Follow new file name convention for KUnit tests
Subsystems (2)
PATCH v3 1/3 lib/list_kunit: Follow new file name convention for KUnit tests
Follow new file name convention for the KUnit tests. Since we have lib/*test*.c in a few variations, use 'kunit' suffix to distinguish usual test cases with KUnit-based ones.
---
v3: added Rb (David), expanded Cc (Mark)
MAINTAINERS | 2 +-
lib/Makefile | 2 +-
lib/{list-test.c => list_kunit.c} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename lib/{list-test.c => list_kunit.c} (100%)MAINTAINERS +1 -1
@@ -10188,7 +10188,7 @@ M: David Gow <[email protected]> L: [email protected] L: [email protected] S: Maintained -F: lib/list-test.c +F: lib/list_kunit.c LIVE PATCHING M: Josh Poimboeuf <[email protected]>
lib/Makefile +1 -1
@@ -350,6 +350,6 @@ obj-$(CONFIG_PLDMFW) += pldmfw/ # KUnit tests obj-$(CONFIG_BITFIELD_KUNIT) += bitfield_kunit.o -obj-$(CONFIG_LIST_KUNIT_TEST) += list-test.o +obj-$(CONFIG_LIST_KUNIT_TEST) += list_kunit.o obj-$(CONFIG_LINEAR_RANGES_TEST) += test_linear_ranges.o obj-$(CONFIG_BITS_TEST) += test_bits.o
lib/list_kunit.c renamed from lib/list-test.c +0 -0
Signature · 1 line
2.28.0
PATCH v3 3/3 lib/bits_kunit: Follow new file name convention for KUnit tests
Follow new file name convention for the KUnit tests. Since we have lib/*test*.c in a few variations, use 'kunit' suffix to distinguish usual test cases with KUnit-based ones.
---
v3: added Rb (David), expanded Cc (Mark)
lib/Makefile | 2 +-
lib/{test_bits.c => bits_kunit.c} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename lib/{test_bits.c => bits_kunit.c} (100%)lib/Makefile +1 -1
@@ -350,6 +350,6 @@ obj-$(CONFIG_PLDMFW) += pldmfw/ # KUnit tests obj-$(CONFIG_BITFIELD_KUNIT) += bitfield_kunit.o +obj-$(CONFIG_BITS_TEST) += bits_kunit.o obj-$(CONFIG_LINEAR_RANGES_TEST) += linear_ranges_kunit.o obj-$(CONFIG_LIST_KUNIT_TEST) += list_kunit.o -obj-$(CONFIG_BITS_TEST) += test_bits.o
lib/bits_kunit.c renamed from lib/test_bits.c +0 -0
Signature · 1 line
2.28.0
PATCH v3 2/3 lib/linear_ranges_kunit: Follow new file name convention for KUnit tests
In reply to Andy ShevchenkoFollow new file name convention for the KUnit tests. Since we have lib/*test*.c in a few variations, use 'kunit' suffix to distinguish usual test cases with KUnit-based ones.
---
v3: added Rb (David)
MAINTAINERS | 3 +--
lib/Makefile | 2 +-
lib/{test_linear_ranges.c => linear_ranges_kunit.c} | 0
3 files changed, 2 insertions(+), 3 deletions(-)
rename lib/{test_linear_ranges.c => linear_ranges_kunit.c} (100%)MAINTAINERS +1 -2
@@ -10069,8 +10069,7 @@ F: include/uapi/linux/lightnvm.h LINEAR RANGES HELPERS M: Mark Brown <[email protected]> R: Matti Vaittinen <[email protected]> -F: lib/linear_ranges.c -F: lib/test_linear_ranges.c +F: lib/linear_ranges*.c F: include/linux/linear_range.h LINUX FOR POWER MACINTOSH
lib/Makefile +1 -1
@@ -350,6 +350,6 @@ obj-$(CONFIG_PLDMFW) += pldmfw/ # KUnit tests obj-$(CONFIG_BITFIELD_KUNIT) += bitfield_kunit.o +obj-$(CONFIG_LINEAR_RANGES_TEST) += linear_ranges_kunit.o obj-$(CONFIG_LIST_KUNIT_TEST) += list_kunit.o -obj-$(CONFIG_LINEAR_RANGES_TEST) += test_linear_ranges.o obj-$(CONFIG_BITS_TEST) += test_bits.o
lib/linear_ranges_kunit.c renamed from lib/test_linear_ranges.c +0 -0
Signature · 1 line
2.28.0
Re: [PATCH v3 2/3] lib/linear_ranges_kunit: Follow new file name convention for KUnit tests
Quoted 4 lines · Andy Shevchenko
Follow new file name convention for the KUnit tests. Since we have
lib/*test*.cin a few variations, use 'kunit' suffix to distinguish usual test cases with KUnit-based ones.
Quoted 9 lines · Andy Shevchenko
Follow new file name convention for the KUnit tests. Since we have
lib/*test*.cin a few variations, use 'kunit' suffix to distinguish usual test cases with KUnit-based ones.Cc Mark Brown <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>Reviewed-by David Gow <[email protected]>
Thanks for taking care of this!
Re: [PATCH v3 3/3] lib/bits_kunit: Follow new file name convention for KUnit tests
In reply to Andy ShevchenkoQuoted 9 lines · Andy Shevchenko
Follow new file name convention for the KUnit tests. Since we have
lib/*test*.cin a few variations, use 'kunit' suffix to distinguish usual test cases with KUnit-based ones.Cc Mark Brown <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>Reviewed-by David Gow <[email protected]>
Quoted 4 lines · Andy Shevchenko
Follow new file name convention for the KUnit tests. Since we have
lib/*test*.cin a few variations, use 'kunit' suffix to distinguish usual test cases with KUnit-based ones.
Can we get this applied?
Quoted 43 lines
Cc Mark Brown <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>Reviewed-by David Gow <[email protected]>---
v3: added Rb (David), expanded Cc (Mark)MAINTAINERS | 2 +- lib/Makefile | 2 +- lib/{list-test.c => list_kunit.c} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename lib/{list-test.c => list_kunit.c} (100%)MAINTAINERS +1
-1@@ -10188,7 +10188,7 @@ M: David Gow <[email protected]> L: [email protected] L: [email protected] S: Maintained -F: lib/list-test.c +F: lib/list_kunit.c LIVE PATCHING M: Josh Poimboeuf <[email protected]>lib/Makefile +1
-1@@ -350,6 +350,6 @@ obj-$(CONFIG_PLDMFW) += pldmfw/ # KUnit tests obj-$(CONFIG_BITFIELD_KUNIT) += bitfield_kunit.o -obj-$(CONFIG_LIST_KUNIT_TEST) += list-test.o +obj-$(CONFIG_LIST_KUNIT_TEST) += list_kunit.o obj-$(CONFIG_LINEAR_RANGES_TEST) += test_linear_ranges.o obj-$(CONFIG_BITS_TEST) += test_bits.olib/list_kunit.c renamed from lib/list-test.c +0
-0Signature · 1 line
2.28.0
Signature · 2 lines
With Best Regards, Andy Shevchenko