mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 20:24:30 +08:00
7600e2cca2
This commit updates LogFollower class to handle carriage return characters in LAVA logs. LAVA treats carriage return characters as a line break, so each carriage return in an output console is mapped to a console line in LAVA. The updated LogFollower class now merges lines that end with a carriage return character into a single line, making the Gitlab sections work correctly. In addition, the `remove_trailing_whitespace` method has been updated to remove trailing `\r\n` characters from log lines. The `test_lava_log_merge_carriage_return_lines` test function has also been updated to test for carriage returns at the end of the previous line. Closes: #8242 Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21614> |
||
---|---|---|
.. | ||
__init__.py | ||
console_format.py | ||
gitlab_section.py | ||
lava_farm.py | ||
lava_log_hints.py | ||
log_follower.py | ||
log_section.py |