From 4668a08e9d7bf73683f9527920fc544eb95e8497 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 5 Mar 2020 15:20:34 +0100 Subject: [PATCH] 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: --- .gitlab-ci/deqp-runner.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 \ -- \ -- 2.30.2