ci: Make it possible to run the pipeline only on the hardware GPU

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>-ne
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>.
macos/master
Gert Wollny 5 years ago
parent c2a2a771d1
commit bfa1515739
  1. 12
      ci/run_tests.sh

@ -78,7 +78,11 @@ run_deqp()
TEST_SUITE="--gles2 --gles3 --gles31"
fi
BACKENDS="--backend vtest-softpipe"
BACKENDS=""
if [[ -z "$HARDWARE_ONLY" ]]; then
BACKENDS="${BACKENDS} --backend vtest-softpipe"
fi
if [[ -z "$SOFTWARE_ONLY" ]]; then
BACKENDS="${BACKENDS} --backend vtest-gpu"
fi
@ -94,7 +98,11 @@ run_piglit()
{
OGL_BACKEND="$1"
BACKENDS="--backend vtest-softpipe"
BACKENDS=""
if [[ -z "$HARDWARE_ONLY" ]]; then
BACKENDS="${BACKENDS} --backend vtest-softpipe"
fi
if [[ -z "$SOFTWARE_ONLY" ]]; then
BACKENDS="${BACKENDS} --backend vtest-gpu"
fi

Loading…
Cancel
Save