aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/bare-metal/init.sh
blob: c5e5c97effcf89ed0e418819323be064ed5febe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

set -ex

mount -t proc none /proc
mount -t sysfs none /sys
mount -t devtmpfs none /dev || echo possibly already mounted
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts

export DEQP_NO_SAVE_RESULTS=1
export DEQP_RUNNER_OPTIONS="--compact-display false"
export DEQP_VER=DEQP_VER_REPLACE
export DEQP_PARALLEL=DEQP_PARALLEL_REPLACE
export CI_NODE_INDEX=CI_NODE_INDEX_REPLACE
export CI_NODE_TOTAL=CI_NODE_TOTAL_REPLACE
export DEQP_SKIPS=deqp-skips.txt
if [ -e /artifacts/deqp-expected-fails.txt ]; then
  export DEQP_EXPECTED_FAILS=deqp-expected-fails.txt
fi

if sh /deqp/deqp-runner.sh; then
    echo "DEQP RESULT: pass"
else
    echo "DEQP RESULT: fail"
fi

# Wait until the job would have timed out anyway, so we don't spew a "init
# exited" panic.
sleep 6000