ci/bare-metal: Make which test to run configurable.
authorEric Anholt <eric@anholt.net>
Mon, 8 Jun 2020 22:23:52 +0000 (15:23 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Jun 2020 23:34:44 +0000 (23:34 +0000)
I'll use this to run tracie in a new job I'm working on.

Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5393>

.gitlab-ci.yml
.gitlab-ci/bare-metal/init.sh
.gitlab-ci/bare-metal/rootfs-setup.sh

index 4acc562830604e98f7a7bfda1da44e9d3ab8e3eb..da23aac08fb3a09894d597580b794d454c81b3d6 100644 (file)
@@ -980,6 +980,7 @@ arm64_a306_gles2:
     BM_ROOTFS: /lava-files/rootfs-arm64
     BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
     FLAKES_CHANNEL: "#freedreno-ci"
+    BARE_METAL_TEST_SCRIPT: "/deqp/deqp-runner.sh"
     DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
     DEQP_SKIPS: deqp-freedreno-a307-skips.txt
     DEQP_VER: gles2
index 93de85c9f283a0266212d477d76f077bc457b267..3be84268003d6c37fcbe004b51d1684a6d4b5896 100644 (file)
@@ -17,7 +17,7 @@ if [ -e /install/deqp-expected-fails.txt ]; then
   export DEQP_EXPECTED_FAILS=deqp-expected-fails.txt
 fi
 
-if sh /deqp/deqp-runner.sh; then
+if sh $BARE_METAL_TEST_SCRIPT; then
     echo "bare-metal result: pass"
 else
     echo "bare-metal result: fail"
index 0181a4e8facc7fe085e9a6964b8f23c10d983ea5..ba4d23148c2b0f428fcf4bf42a0f14f8365e7ca2 100644 (file)
@@ -12,6 +12,7 @@ set +x
 touch $rootfs_dst/set-job-env-vars.sh
 chmod +x $rootfs_dst/set-job-env-vars.sh
 for var in \
+    BARE_METAL_TEST_SCRIPT \
     CI_COMMIT_BRANCH \
     CI_COMMIT_TITLE \
     CI_JOB_ID \