Re: [PATCH v2 3/9] ext4: Give the extents KUnit cases distinct names
From: Mark Brown
Date: Sun Nov 29 2026 - 07:52:55 EST
On Fri, Nov 27, 2026 at 05:03:34PM +0800, David Gow wrote:
> > The ext4_extents_test suite runs test_split_convert() against three
> > different parameter arrays by listing it three times with
> > KUNIT_CASE_PARAM_WITH_INIT(), which names each case after the function.
> > All three cases are therefore called test_split_convert, so they cannot
> > be told apart in the results.
> > Use KUNIT_CASE_PARAM_WITH_INIT_UNIQUE() for these entries so that each
> > case is also named for the param_init() function which registers its
> > parameter array, for example
> > test_split_convert-test_convert_initialized_param_init.
> >
> Note: This is probably going to have a conflict with all of the changes to
> the ext4 tests which have just landed. It still applies cleanly to the
> kselftest/kunit brach for the moment, though.
I suspect that the best way forward is just to drop this patch from the
series, then redo it on top of the ext4 changes after the merge window
(assuming the rest goes in, hopefully it will). Nothing else here
directly depends on this.
Attachment:
signature.asc
Description: PGP signature