ci: piglit runner colors diff output on failures

Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Martin Peres <martin.peres@mupuf.org>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9104>
This commit is contained in:
Andres Gomez 2021-02-17 15:05:47 +02:00 committed by Marge Bot
parent 2104135f38
commit c1d33c758e

View File

@ -248,5 +248,5 @@ if [ ${PIGLIT_HTML_SUMMARY:-1} -eq 1 ]; then
fi
quiet print_red printf "%s\n" "$FAILURE_MESSAGE"
quiet print_red diff -u ".gitlab-ci/piglit/$PIGLIT_RESULTS.txt.baseline" $RESULTSFILE
quiet diff --color=always -u ".gitlab-ci/piglit/$PIGLIT_RESULTS.txt.baseline" $RESULTSFILE
exit 1