Skip to content

ci/lava: Add support for more complex color codes

Guilherme Gallo requested to merge gallo/mesa:ci-fix-lava-colors into main

Currently, LAVA job submitter is employing a temporary solution for the bash escape code mangling in the LAVA jobs. Until the issue is not fixed on the LAVA side, the submitter will replace the wrong characters with the fixed ones.

This MR improves the regex pattern to comprehend the scenarios of color codes with font formatting and background color information, such as:

echo -e "\e[1;41;39mRed background with white bold text color\e[0m"
Edited by Guilherme Gallo

Merge request reports