Re: [PATCH v4 1/2] kunit: tool: Parse and print the reason tests are skipped
From: Kees Cook
Date: Wed Jun 10 2026 - 16:27:17 EST
On Sat, Jun 06, 2026 at 09:38:17AM +0800, David Gow wrote:
> When a KUnit test (or other KTAP test) is skipped, a "skip reason" can be
> provided. kunit.py has never done anything with this, ignoring anything
> included in the KTAP output after the 'SKIP' directive.
>
> Since we have it, and it's used, print it in a nice friendly yellow in
> parentheses after a skipped test's name.
>
> (And, by parsing it, it can be included in the JUnit results as well.)
>
> Signed-off-by: David Gow <david@xxxxxxxxxxxx>
Thank you; this makes my life easier so I don't have to use --raw_output
in my fortify testing. :)
Reviewed-by: Kees Cook <kees@xxxxxxxxxx>
--
Kees Cook