[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aV_Qd1bKb8hNqfYA@google.com>
Date: Thu, 8 Jan 2026 23:42:47 +0800
From: Kuan-Wei Chiu <visitorckw@...il.com>
To: Kir Chou <note351@...mail.com>
Cc: akpm@...ux-foundation.org, geert@...ux-m68k.org,
linux-kernel@...r.kernel.org, davidgow@...gle.com,
brendan.higgins@...ux.dev, linux-kselftest@...r.kernel.org,
kunit-dev@...glegroups.com, kirchou@...gle.com
Subject: Re: [PATCH v4] lib/glob: convert selftest to KUnit
On Thu, Jan 08, 2026 at 09:07:53PM +0900, Kir Chou wrote:
> This patch converts the existing glob selftest (lib/globtest.c) to use
> the KUnit framework (lib/tests/glob_kunit.c).
>
> The new test:
>
> - Migrates all 64 test cases from the original test to the KUnit suite.
> - Removes the custom 'verbose' module parameter as KUnit handles logging.
> - Updates Kconfig.debug and Makefile to support the new KUnit test.
> - Updates Kconfig and Makefile to remove the original selftest.
> - Updates GLOB_SELFTEST to GLOB_KUNIT_TEST for arch/m68k/configs.
>
> This commit is verified by `./tools/testing/kunit/kunit.py run`
> with the .kunit/.kunitconfig:
>
> ```
> CONFIG_KUNIT=y
> CONFIG_GLOB_KUNIT_TEST=y
> ```
>
> Signed-off-by: Kir Chou <note351@...mail.com>
> Acked-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Reviewed-by: David Gow <davidgow@...gle.com>
Reviewed-by: Kuan-Wei Chiu <visitorckw@...il.com>
Regards,
Kuan-Wei
Powered by blists - more mailing lists