Mesa (master): gitlab-ci: Vulkan tracie runner to return last command exit code
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 14 13:38:34 UTC 2020
Module: Mesa
Branch: master
Commit: 35782b6593a676b5b057c79be69b519309c9ac69
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=35782b6593a676b5b057c79be69b519309c9ac69
Author: Andres Gomez <agomez at igalia.com>
Date: Tue Apr 7 18:38:12 2020 +0300
gitlab-ci: Vulkan tracie runner to return last command exit code
No need to cache the return value if there is only a single trace
execution call.
Signed-off-by: Andres Gomez <agomez at igalia.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis at collabora.com>
Reviewed-by: Rohan Garg <rohan.garg at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4496>
---
.gitlab-ci/tracie-runner-vk.sh | 4 ----
1 file changed, 4 deletions(-)
diff --git a/.gitlab-ci/tracie-runner-vk.sh b/.gitlab-ci/tracie-runner-vk.sh
index 6f0c46fd415..f234f57a283 100755
--- a/.gitlab-ci/tracie-runner-vk.sh
+++ b/.gitlab-ci/tracie-runner-vk.sh
@@ -28,8 +28,6 @@ export DXVK_STATE_CACHE=0
MESA_VERSION=$(cat "$INSTALL/VERSION" | sed 's/\./\\./g')
vulkaninfo | grep "Mesa $MESA_VERSION\(\s\|$\)"
-ret=0
-
# Run gfxreconstruct traces against the host's running X server (xvfb
# doesn't have DRI3 support).
# Set the DISPLAY env variable in each gitlab-runner's configuration
@@ -37,5 +35,3 @@ ret=0
# https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runners-section
PATH="/gfxreconstruct/build/bin:$PATH" \
python3 $INSTALL/tracie/tracie.py --file $INSTALL/traces.yml --device-name $DEVICE_NAME
-
-exit $ret
More information about the mesa-commit
mailing list