commit | 584762c216894a8cba804af9d79a12bb21ceb282 | [log] [tgz] |
---|---|---|
author | Guilherme Gallo <guilherme.gallo@collabora.com> | Thu Nov 24 03:06:58 2022 -0300 |
committer | Marge Bot <emma+marge@anholt.net> | Wed Dec 21 12:44:49 2022 +0000 |
tree | b0a6b237bceeb52d1d5e34bb42058be7f7352f64 | |
parent | f040122bedb64bb6f4c26d7e272da874ae7f9a05 [diff] |
ci/lava: Fix Gitlab section rendering LAVA splits the DUT log lines with `\r` in them. Unfortunately, it breaks the Gitlab section line syntax when the HWCI script calls it since it is a oneliner. This commit changes the` fix_lava_gitlab_section_log` function to a stateful generator that can merge lines that respects two consecutive patterns. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7703 Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20051>