gitlab-ci: allow deqp-runner to use the maximum number of jobs

if $DEQP_PARALLEL is not set, it will use the maximum number of
jobs instead of 1.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4179>
This commit is contained in:
Samuel Pitoiset 2020-03-05 15:20:34 +01:00 committed by Marge Bot
parent 888b41f0ee
commit 4668a08e9d

View file

@ -71,6 +71,10 @@ fi
set +e
if [ -n "$DEQP_PARALLEL" ]; then
JOB="--job $DEQP_PARALLEL"
fi
run_cts() {
deqp=$1
caselist=$2
@ -81,7 +85,7 @@ run_cts() {
--caselist $caselist \
--exclude-list $ARTIFACTS/$DEQP_SKIPS \
$XFAIL \
--job ${DEQP_PARALLEL:-1} \
$JOB \
--allow-flakes true \
$DEQP_RUNNER_OPTIONS \
-- \