Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests: kselftest: Treat xpass as successful result

The harness treats these tests as successful, as does pytest.

Align kselftest.h to the rest of the ecosystem.

None of the Linux selftests seem to actually use this anyways.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/r/20260302-kselftest-harness-v2-1-3143aa41d989@linutronix.de
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Thomas Weißschuh and committed by
Shuah Khan
fd1b4eb8 3d0b8e45

+1
+1
tools/testing/selftests/kselftest.h
··· 399 399 #define ksft_finished() \ 400 400 ksft_exit(ksft_plan == \ 401 401 ksft_cnt.ksft_pass + \ 402 + ksft_cnt.ksft_xpass + \ 402 403 ksft_cnt.ksft_xfail + \ 403 404 ksft_cnt.ksft_xskip) 404 405