Thread (28 messages) 28 messages, 4 authors, 2024-02-26

Re: [PATCH net-next v3 10/11] selftests: kselftest_harness: support using xfail

From: Kees Cook <hidden>
Date: 2024-02-21 00:52:09
Also in: linux-kselftest, linux-security-module

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@kernel.org>
Thanks for this implementation; this will work nicely. :)

Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help