ci/bare-metal: Use the deqp-runner bits straight out of the artifacts.
[mesa.git] / .gitlab-ci / bare-metal / init.sh
1 #!/bin/sh
2
3 set -ex
4
5 mount -t proc none /proc
6 mount -t sysfs none /sys
7 mount -t devtmpfs none /dev || echo possibly already mounted
8 mkdir -p /dev/pts
9 mount -t devpts devpts /dev/pts
10
11 . /set-job-env-vars.sh
12
13 echo "nameserver 8.8.8.8" > /etc/resolv.conf
14
15 if sh $BARE_METAL_TEST_SCRIPT; then
16 echo "bare-metal result: pass"
17 else
18 echo "bare-metal result: fail"
19 fi
20
21 # Wait until the job would have timed out anyway, so we don't spew a "init
22 # exited" panic.
23 sleep 6000