
There's some files from the .gitlab-ci directory that are needed in the test stage and that, because the Mesa repository isn't checked out in that stage, need to be made available through other means. Because those files are going to be needed in LAVA devices, place them ino the tarball containing the built files so it's available to both gitlab-ci runners and LAVA devices. Before those files were passed in the artifacts of the Gitlab CI job, but this commit places them into the built tarball so scripts later in the pipeline don't need to account for this discrepancy. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4295>
31 lines
769 B
Bash
31 lines
769 B
Bash
#!/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 /install/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
|