diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh index 0a32207ba4a..ed95ba53578 100755 --- a/.gitlab-ci/deqp-runner.sh +++ b/.gitlab-ci/deqp-runner.sh @@ -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 \ -- \