[PATCH net-next v3 10/11] selftests: kselftest_harness: support using xfail
Kees Cook
keescook at chromium.org
Wed Feb 21 00:52:07 UTC 2024
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 at kernel.org>
Thanks for this implementation; this will work nicely. :)
Reviewed-by: Kees Cook <keescook at chromium.org>
--
Kees Cook
More information about the Linux-security-module-archive
mailing list