[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202003151355.C9118025F@keescook>
Date: Sun, 15 Mar 2020 13:55:48 -0700
From: Kees Cook <keescook@...omium.org>
To: David Miller <davem@...emloft.net>
Cc: kuba@...nel.org, shuah@...nel.org, luto@...capital.net,
wad@...omium.org, linux-kselftest@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-team@...com
Subject: Re: [PATCH v2 0/4] kselftest: add fixture parameters
On Sun, Mar 15, 2020 at 12:05:17AM -0700, David Miller wrote:
> From: Jakub Kicinski <kuba@...nel.org>
> Date: Fri, 13 Mar 2020 17:54:57 -0700
>
> > This set is an attempt to make running tests for different
> > sets of data easier. The direct motivation is the tls
> > test which we'd like to run for TLS 1.2 and TLS 1.3,
> > but currently there is no easy way to invoke the same
> > tests with different parameters.
> >
> > Tested all users of kselftest_harness.h.
> >
> > v2:
> > - don't run tests by fixture
> > - don't pass params as an explicit argument
> >
> > Note that we loose a little bit of type safety
> > without passing parameters as an explicit argument.
> > If user puts the name of the wrong fixture as argument
> > to CURRENT_FIXTURE() it will happily cast the type.
>
> Hmmm, what tree should integrate this patch series?
I expect the final version (likely v3) to go via Shuah's selftest tree.
-Kees
--
Kees Cook
Powered by blists - more mailing lists