From: Samuel Pitoiset Date: Thu, 5 Mar 2020 14:20:34 +0000 (+0100) Subject: gitlab-ci: allow deqp-runner to use the maximum number of jobs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4668a08e9d7bf73683f9527920fc544eb95e8497;p=mesa.git 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 Reviewed-by: Eric Anholt Part-of: --- 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 \ -- \