ci: Run piglit gl&gles hosts as separate tests

This reason for wanting to split them up is just to
provide a faster overview of what is failing and
what isn't.

This may be a small amount slower than running them
together, but the impact should be low.

Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
macos/master
Robert Foss 6 years ago committed by Jakob Bornecrantz
parent 8e3c7f7666
commit c21a53de63
  1. 25
      ci/.gitlab-ci.yml

@ -66,7 +66,7 @@ make check:
paths:
- results/
piglit:
piglit - gl host:
stage: test
services:
- docker:dind
@ -83,7 +83,28 @@ piglit:
$RD_CONFIG
-v $PWD:/virglrenderer
$CI_REGISTRY_IMAGE:latest
bash -c "/virglrenderer/ci/run_tests.sh --piglit-gl --piglit-gles"
bash -c "/virglrenderer/ci/run_tests.sh --piglit-gl"
2>&1 | tee results/docker_test_log.txt
- echo "\n\n"
piglit - gles host:
stage: test
services:
- docker:dind
before_script:
- mkdir -p ccache
- mkdir -p results
script:
- echo core > /proc/sys/kernel/core_pattern || true
- echo 0 > /proc/sys/kernel/core_uses_pid || true
- if [[ -n "$RENDER_DEVICE" ]]; then RD_CONFIG="--device=$RENDER_DEVICE -e RENDER_DEVICE=$RENDER_DEVICE"; fi
- echo RD_CONFIG=$RD_CONFIG
- docker run
--ulimit core=99999999999:99999999999
$RD_CONFIG
-v $PWD:/virglrenderer
$CI_REGISTRY_IMAGE:latest
bash -c "/virglrenderer/ci/run_tests.sh --piglit-gles"
2>&1 | tee results/docker_test_log.txt
- echo "\n\n"

Loading…
Cancel
Save