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>
set +e
+if [ -n "$DEQP_PARALLEL" ]; then
+ JOB="--job $DEQP_PARALLEL"
+fi
+
run_cts() {
deqp=$1
caselist=$2
--caselist $caselist \
--exclude-list $ARTIFACTS/$DEQP_SKIPS \
$XFAIL \
- --job ${DEQP_PARALLEL:-1} \
+ $JOB \
--allow-flakes true \
$DEQP_RUNNER_OPTIONS \
-- \