ci/vkd3d: fix error message printing

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749>
This commit is contained in:
Eric Engestrom
2024-06-13 16:14:40 +02:00
committed by Marge Bot
parent 7a1f28c1eb
commit b50c8217ef

View File

@@ -59,7 +59,7 @@ if ! /vkd3d-proton-tests/x64/bin/d3d12 > "$RESULTS/vkd3d-proton.log";
then
# Check if the executable finished (ie. no segfault).
if ! grep "tests executed" "$RESULTS/vkd3d-proton.log" > /dev/null; then
error printf "%s\n" "Failed, see vkd3d-proton.log!"
error "Failed, see vkd3d-proton.log!"
exit 1
fi
@@ -79,7 +79,7 @@ then
# Make sure that the failures found in this run match the current expectation
if ! diff --color=always -u ".gitlab-ci/vkd3d-proton/$VKD3D_PROTON_RESULTS.txt.baseline" "$RESULTSFILE"; then
error printf "%s\n" "Changes found, see vkd3d-proton.log!"
error "Changes found, see vkd3d-proton.log!"
exit 1
fi
fi