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

Loading…
Cancel
Save