Re: [PATCH v4 1/2] kunit: tool: Parse and print the reason tests are skipped
Kees Cook <[email protected]> Wed, 10 Jun 2026 13:27:07 -0700
| Newsgroups | org.kernel.vger.workflows,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest |
|---|---|
| Message-ID | <202606101326.DD12C7CC@keescook> |
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 <[email protected]> Thank you; this makes my life easier so I don't have to use --raw_output in my fortify testing. :) Reviewed-by: Kees Cook <[email protected]> -- Kees Cook