gitlab-ci: Automated testing with OpenGL traces

Graphics / Mesa 3D Graphics Library / Mesa - Alexandros Frantzis [collabora.com] - 20 February 2020 07:06 EST

Introduce automated testing of Mesa by replaying traces with Renderdoc or Apitrace.

For now only LLVMPipe is tested, but other drivers can be tested if there's runners with the necessary hardware.

803ab5d6be6 gitlab-ci: Automated testing with OpenGL traces
.gitlab-ci.yml | 19 +-
.gitlab-ci/build-apitrace.sh | 18 ++
.gitlab-ci/build-deqp-gl.sh | 2 +
.gitlab-ci/build-renderdoc.sh | 17 ++
.gitlab-ci/container/x86_test-gl.sh | 33 +++-
.gitlab-ci/prepare-artifacts.sh | 3 +
.gitlab-ci/traces.yml | 17 ++
.gitlab-ci/tracie-runner.sh | 33 ++++
.gitlab-ci/tracie/README.md | 126 ++++++++++++
.gitlab-ci/tracie/dump_trace_images.py | 134 +++++++++++++
.gitlab-ci/tracie/image_checksum.py | 39 ++++
.gitlab-ci/tracie/query_traces_yaml.py | 107 +++++++++++
.gitlab-ci/tracie/renderdoc_dump_images.py | 106 ++++++++++
.../tests/test-data/trace1/magenta.testtrace | 1 +
.../tracie/tests/test-data/trace2/olive.testtrace | 1 +
.gitlab-ci/tracie/tests/test.sh | 214 +++++++++++++++++++++
.gitlab-ci/tracie/tests/traces.yml | 9 +
.gitlab-ci/tracie/traceutil.py | 58 ++++++
.gitlab-ci/tracie/tracie.sh | 123 ++++++++++++
19 files changed, 1056 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share