Re: [PATCH net-next v3 07/11] selftests: kselftest_harness: print test name for SKIP
From: Kees Cook <hidden>
Date: 2024-02-21 00:50:19
Also in:
linux-kselftest, linux-security-module
From: Kees Cook <hidden>
Date: 2024-02-21 00:50:19
Also in:
linux-kselftest, linux-security-module
On Tue, Feb 20, 2024 at 11:22:31AM -0800, Jakub Kicinski wrote:
Jakub points out that for parsers it's rather useful to always
have the test name on the result line. Currently if we SKIP
(or soon XFAIL or XPASS), we will print:
ok 17 # SKIP SCTP doesn't support IP_BIND_ADDRESS_NO_PORT
^
no test name
Always print the test name.
KTAP format seems to allow or even call for it, per:
https://docs.kernel.org/dev-tools/ktap.html
Suggested-by: Jakub Sitnicki <jakub@cloudflare.com>
Link: https://lore.kernel.org/all/87jzn6lnou.fsf@cloudflare.com/ (local)
Signed-off-by: Jakub Kicinski <kuba@kernel.org>Reviewed-by: Kees Cook <redacted> -- Kees Cook