Re: [PATCH] kunit: tool: Recommend --raw_output=all if no KTAP found

From: Andy Shevchenko

Date: Fri Feb 27 2026 - 09:48:20 EST


On Fri, Feb 27, 2026 at 06:56:49PM +0800, David Gow wrote:
> If no KTAP header is found in the kernel output (e.g., because the kernel
> crashed before the KUnit executor was run), it's very useful to re-run the
> test with --raw_output=all, as that will show any error output (such as a
> stacktrace, log message, BUG, etc). This is not particularly intuitive,
> however, as --raw_output=all is not well known.
>
> Add an extra log line to advertise --raw_output=all in this case, as it's
> a terrible user experience to just get "Did any KUnit tests run?"

What's the difference to "full"?

Thanks for adding this, btw!

--
With Best Regards,
Andy Shevchenko