[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241202075545.3648096-7-davidgow@google.com>
Date: Mon, 2 Dec 2024 15:55:43 +0800
From: David Gow <davidgow@...gle.com>
To: Andrew Morton <akpm@...ux-foundation.org>, Shuah Khan <skhan@...uxfoundation.org>,
Rae Moar <rmoar@...gle.com>, Kees Cook <kees@...nel.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Gabriela Bittencourt <gbittencourt@...amp.dev>, linux-kselftest@...r.kernel.org,
kunit-dev@...glegroups.com, linux-kernel@...r.kernel.org,
Stephen Rothwell <sfr@...b.auug.org.au>, Andy Shevchenko <andy@...nel.org>,
Brendan Higgins <brendan.higgins@...ux.dev>, Pedro Orlando <porlando@...amp.dev>,
Danilo Pereira <dpereira@...amp.dev>, David Gow <davidgow@...gle.com>,
Gabriel Krisman Bertazi <krisman@...e.de>
Subject: [PATCH v2 6/6] unicode: kunit: change tests filename and path
From: Gabriela Bittencourt <gbittencourt@...amp.dev>
Change utf8 kunit test filename and path to follow the style
convention on Documentation/dev-tools/kunit/style.rst
Co-developed-by: Pedro Orlando <porlando@...amp.dev>
Signed-off-by: Pedro Orlando <porlando@...amp.dev>
Co-developed-by: Danilo Pereira <dpereira@...amp.dev>
Signed-off-by: Danilo Pereira <dpereira@...amp.dev>
Signed-off-by: Gabriela Bittencourt <gbittencourt@...amp.dev>
Reviewed-by: David Gow <davidgow@...gle.com>
Acked-by: Gabriel Krisman Bertazi <krisman@...e.de>
[Rebased, fixed module build (Gabriel Krisman Bertazi)]
Signed-off-by: David Gow <davidgow@...gle.com>
---
fs/unicode/Makefile | 2 +-
fs/unicode/{ => tests}/.kunitconfig | 0
fs/unicode/{utf8-selftest.c => tests/utf8_kunit.c} | 0
3 files changed, 1 insertion(+), 1 deletion(-)
rename fs/unicode/{ => tests}/.kunitconfig (100%)
rename fs/unicode/{utf8-selftest.c => tests/utf8_kunit.c} (100%)
diff --git a/fs/unicode/Makefile b/fs/unicode/Makefile
index 37bbcbc628a1..d95be7fb9f6b 100644
--- a/fs/unicode/Makefile
+++ b/fs/unicode/Makefile
@@ -4,7 +4,7 @@ ifneq ($(CONFIG_UNICODE),)
obj-y += unicode.o
endif
obj-$(CONFIG_UNICODE) += utf8data.o
-obj-$(CONFIG_UNICODE_NORMALIZATION_KUNIT_TEST) += utf8-selftest.o
+obj-$(CONFIG_UNICODE_NORMALIZATION_KUNIT_TEST) += tests/utf8_kunit.o
unicode-y := utf8-norm.o utf8-core.o
diff --git a/fs/unicode/.kunitconfig b/fs/unicode/tests/.kunitconfig
similarity index 100%
rename from fs/unicode/.kunitconfig
rename to fs/unicode/tests/.kunitconfig
diff --git a/fs/unicode/utf8-selftest.c b/fs/unicode/tests/utf8_kunit.c
similarity index 100%
rename from fs/unicode/utf8-selftest.c
rename to fs/unicode/tests/utf8_kunit.c
--
2.47.0.338.g60cca15819-goog
Powered by blists - more mailing lists