[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202402201651.7C25039529@keescook>
Date: Tue, 20 Feb 2024 16:52:07 -0800
From: Kees Cook <keescook@...omium.org>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, shuah@...nel.org,
linux-kselftest@...r.kernel.org, mic@...ikod.net,
linux-security-module@...r.kernel.org, jakub@...udflare.com
Subject: Re: [PATCH net-next v3 10/11] selftests: kselftest_harness: support
using xfail
On Tue, Feb 20, 2024 at 11:22:34AM -0800, Jakub Kicinski wrote:
> Currently some tests report skip for things they expect to fail
> e.g. when given combination of parameters is known to be unsupported.
> This is confusing because in an ideal test environment and fully
> featured kernel no tests should be skipped.
>
> Selftest summary line already includes xfail and xpass counters,
> e.g.:
>
> but there's no way to use it from within the harness.
>
> Add a new per-fixture+variant combination list of test cases
> we expect to fail.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Thanks for this implementation; this will work nicely. :)
Reviewed-by: Kees Cook <keescook@...omium.org>
--
Kees Cook
Powered by blists - more mailing lists