[PATCH v2] ci: improve logging of unit tests runs
Aaron Conole
aconole at redhat.com
Tue Jan 20 14:19:13 CET 2026
Bruce Richardson <bruce.richardson at intel.com> writes:
> To help track down issues reported by CI test runs, add some additional
> meson flags to the run of the fast-tests:
>
> --no-stdsplit:
> keep the stdout and stderr output interleaved, rather
> than separated in the logs, to make following what is happening during
> a test run easier.
> --print-errorlogs:
> when an error with a unit test does occur, output to the terminal the
> last N lines of output. This allows us to see inline what may have
> failed without always needing to check log files.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> V2: Drop max-lines flag, since it's only introduced in very recent meson
> versions.
> ---
Thanks for working on this. I guess when we bump our meson support
version we could re-introduce the max-lines flag (looks like it was
added in 1.5.0 based on reading the notes).
Acked-by: Aaron Conole <aconole at redhat.com>
CC'ing Patrick and the CI list - just in case any of the labs have any
special processing when they pull error logs.
More information about the ci
mailing list