mesa/.gitlab-ci/container
Pablo Saavedra 550a4f7764 ci: Migrate tracie tests done in shell script to pytest
v2: Verbatim translation from the original shell script
    Make the corrections visible in explicit commits (Andres)
    Remove redundant code (Alexandros)
    Code style nitpick (Rohan)

Reimplementation of the tracie's self-tests using a pythonic test suit
(pytest).

The new tracie/test.py module is almost a direct translation of the
tests defined in the tracie/test.sh. This new implementation of the
test provides a more common framework where define the tests.
Also allows a better introspection for the tests results and/or
resulting errors.

This patch also adds python3-pytest as dependency for the built images
and adapts the tracie-runner scripts to run the self-test using pytest.

Signed-off-by: Pablo Saavedra <psaavedra@igalia.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> [v1]
Reviewed-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com> [v1]
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4916>
2020-05-18 17:27:42 +00:00
..
arm_build.sh ci: Consistently use -j4 across x86 build jobs and -j8 on ARM. 2020-04-01 18:33:58 +00:00
arm_test.sh ci: Enable ccache in the container builds. 2020-03-17 10:44:39 -07:00
container_post_build.sh ci: Enable ccache in the container builds. 2020-03-17 10:44:39 -07:00
container_pre_build.sh ci: Consistently use -j4 across x86 build jobs and -j8 on ARM. 2020-04-01 18:33:58 +00:00
lava_arm.sh ci: Consistently use -j4 across x86 build jobs and -j8 on ARM. 2020-04-01 18:33:58 +00:00
llvm-snapshot.gpg.key gitlab-ci: Test against LLVM / clang 9 on x86 2020-01-07 11:00:16 +01:00
x86_build.sh gitlab-ci: Install g++-mingw-w64-x86-64-win32 instead of mingw-w64 2020-05-14 12:54:09 +00:00
x86_build_old.sh ci: Enable ccache in the container builds. 2020-03-17 10:44:39 -07:00
x86_test-gl.sh ci: Migrate tracie tests done in shell script to pytest 2020-05-18 17:27:42 +00:00
x86_test-vk.sh ci: Migrate tracie tests done in shell script to pytest 2020-05-18 17:27:42 +00:00