Re: [PATCH 3/5] kselftest: run tests by fixture

From: Jakub Kicinski
Date: Fri Mar 13 2020 - 19:54:37 EST


On Fri, 13 Mar 2020 16:27:54 -0700 Kees Cook wrote:
> On Thu, Mar 12, 2020 at 08:17:50PM -0700, Jakub Kicinski wrote:
> > Now that all tests have a fixture object move from a global
> > list of tests to a list of tests per fixture.
> >
> > Order of tests may change as we will now group and run test
> > fixture by fixture, rather than in declaration order.
>
> I'm not convinced about this change. Declaration order is a pretty
> intuitive result that I'd like to keep for the harness.
>
> Can this change be avoided and still keep the final results of a
> "mutable" fixture?

Sure! I will abandon the reorg of the lists then, keep just the list of
tests, and have each test point to its fixture. Which then may contain
param sets.