Mesa (main): ci/deqp: Move the set +e just before the deqp-runner invocation.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 5 22:15:40 UTC 2022


Module: Mesa
Branch: main
Commit: 34278e8f2ec47df322bf2ef7a9ff753b1223afbb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34278e8f2ec47df322bf2ef7a9ff753b1223afbb

Author: Emma Anholt <emma at anholt.net>
Date:   Thu Mar 10 12:56:17 2022 -0800

ci/deqp: Move the set +e just before the deqp-runner invocation.

You don't want to proceed to running deqp-runner if you failed at the
vtest or runner options environment setup.

Acked-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15332>

---

 .gitlab-ci/deqp-runner.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh
index 2df3e1efd8d..a04cbc92972 100755
--- a/.gitlab-ci/deqp-runner.sh
+++ b/.gitlab-ci/deqp-runner.sh
@@ -123,8 +123,6 @@ if [ -e "$INSTALL/$GPU_VERSION-skips.txt" ]; then
     DEQP_SKIPS="$DEQP_SKIPS $INSTALL/$GPU_VERSION-skips.txt"
 fi
 
-set +e
-
 report_load() {
     echo "System load: $(cut -d' ' -f1-3 < /proc/loadavg)"
     echo "# of CPU cores: $(cat /proc/cpuinfo | grep processor | wc -l)"
@@ -167,6 +165,7 @@ echo -e "\e[0Ksection_end:$(date +%s):test_setup\r\e[0K"
 echo -e "\e[0Ksection_start:$(date +%s):deqp[collapsed=false]\r\e[0Kdeqp-runner"
 set -x
 
+set +e
 if [ -z "$DEQP_SUITE" ]; then
     deqp-runner \
         run \



More information about the mesa-commit mailing list