public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Gow <davidgow@google.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	Shuah Khan <skhan@linuxfoundation.org>,
	 Rae Moar <rmoar@google.com>, Kees Cook <kees@kernel.org>,
	 Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Gabriela Bittencourt <gbittencourt@lkcamp.dev>,
	linux-kselftest@vger.kernel.org,  kunit-dev@googlegroups.com,
	linux-kernel@vger.kernel.org,
	 Stephen Rothwell <sfr@canb.auug.org.au>,
	Andy Shevchenko <andy@kernel.org>,
	 Brendan Higgins <brendan.higgins@linux.dev>,
	Pedro Orlando <porlando@lkcamp.dev>,
	 Danilo Pereira <dpereira@lkcamp.dev>,
	David Gow <davidgow@google.com>,
	 Gabriel Krisman Bertazi <krisman@suse.de>
Subject: [PATCH v2 6/6] unicode: kunit: change tests filename and path
Date: Mon,  2 Dec 2024 15:55:43 +0800	[thread overview]
Message-ID: <20241202075545.3648096-7-davidgow@google.com> (raw)
In-Reply-To: <20241202075545.3648096-1-davidgow@google.com>

From: Gabriela Bittencourt <gbittencourt@lkcamp.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@lkcamp.dev>
Signed-off-by: Pedro Orlando <porlando@lkcamp.dev>
Co-developed-by: Danilo Pereira <dpereira@lkcamp.dev>
Signed-off-by: Danilo Pereira <dpereira@lkcamp.dev>
Signed-off-by: Gabriela Bittencourt <gbittencourt@lkcamp.dev>
Reviewed-by: David Gow <davidgow@google.com>
Acked-by: Gabriel Krisman Bertazi <krisman@suse.de>
[Rebased, fixed module build (Gabriel Krisman Bertazi)]
Signed-off-by: David Gow <davidgow@google.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


  parent reply	other threads:[~2024-12-02  7:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02  7:55 [PATCH v2 0/6] [PATCH 0/6] KUnit test moves / renames David Gow
2024-12-02  7:55 ` [PATCH v2 1/6] lib: math: Move kunit tests into tests/ subdir David Gow
2024-12-02  7:55 ` [PATCH v2 2/6] lib/math: Add int_log test suite David Gow
2024-12-02  7:55 ` [PATCH v2 3/6] lib: Move KUnit tests into tests/ subdirectory David Gow
2024-12-02  7:55 ` [PATCH v2 4/6] lib/tests/kfifo_kunit.c: add tests for the kfifo structure David Gow
2024-12-02  7:55 ` [PATCH v2 5/6] unicode: kunit: refactor selftest to kunit tests David Gow
2024-12-02  7:55 ` David Gow [this message]
2024-12-02 16:01 ` [PATCH v2 0/6] [PATCH 0/6] KUnit test moves / renames Andy Shevchenko
2024-12-02 23:29 ` Rae Moar
  -- strict thread matches above, loose matches on Subject: below --
2025-02-11  0:31 [PATCH v2 " Kees Cook
2025-02-11  0:31 ` [PATCH v2 6/6] unicode: kunit: change tests filename and path Kees Cook
2025-02-12 15:40   ` Gabriel Krisman Bertazi
2025-02-12 22:01     ` Kees Cook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241202075545.3648096-7-davidgow@google.com \
    --to=davidgow@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=andy@kernel.org \
    --cc=brendan.higgins@linux.dev \
    --cc=dpereira@lkcamp.dev \
    --cc=gbittencourt@lkcamp.dev \
    --cc=geert@linux-m68k.org \
    --cc=kees@kernel.org \
    --cc=krisman@suse.de \
    --cc=kunit-dev@googlegroups.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=porlando@lkcamp.dev \
    --cc=rmoar@google.com \
    --cc=sfr@canb.auug.org.au \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox