ci: make error handling quieter

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32054>
This commit is contained in:
Eric Engestrom 2024-11-08 10:08:35 +01:00 committed by Marge Bot
parent e5708ab2b4
commit 8d2620569c

View file

@ -119,7 +119,6 @@ if [ -z "${RESULTS_DIR:-}" ]; then
fi
function error {
x_off 2>/dev/null
RED="\e[0;31m"
ENDCOLOR="\e[0m"
# we force the following to be not in a section
@ -134,6 +133,7 @@ function error {
}
function trap_err {
x_off
error ${CURRENT_SECTION:-'unknown-section'}: ret code: $*
}