ci: support KHR-GLES testing
Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10287>
This commit is contained in:
@@ -413,13 +413,13 @@ x86_test-base:
|
|||||||
x86_test-gl:
|
x86_test-gl:
|
||||||
extends: .use-x86_test-base
|
extends: .use-x86_test-base
|
||||||
variables:
|
variables:
|
||||||
MESA_IMAGE_TAG: &x86_test-gl "2021-04-14-deqp-egl"
|
MESA_IMAGE_TAG: &x86_test-gl "2021-04-20-gles-khr"
|
||||||
|
|
||||||
# Debian 11 based x86 test image for VK
|
# Debian 11 based x86 test image for VK
|
||||||
x86_test-vk:
|
x86_test-vk:
|
||||||
extends: .use-x86_test-base
|
extends: .use-x86_test-base
|
||||||
variables:
|
variables:
|
||||||
MESA_IMAGE_TAG: &x86_test-vk "2021-04-14-deqp-egl"
|
MESA_IMAGE_TAG: &x86_test-vk "2021-04-20-gles-khr"
|
||||||
|
|
||||||
# Debian 11 based ARM build image
|
# Debian 11 based ARM build image
|
||||||
arm_build:
|
arm_build:
|
||||||
@@ -447,7 +447,7 @@ arm_build:
|
|||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: fetch
|
GIT_STRATEGY: fetch
|
||||||
KERNEL_URL: "https://gitlab.freedesktop.org/tomeu/linux/-/archive/v5.11-for-mesa-ci-adcee9973be5/linux-v5.11-for-mesa-ci-adcee9973be5.tar.bz2"
|
KERNEL_URL: "https://gitlab.freedesktop.org/tomeu/linux/-/archive/v5.11-for-mesa-ci-adcee9973be5/linux-v5.11-for-mesa-ci-adcee9973be5.tar.bz2"
|
||||||
MESA_ROOTFS_TAG: &kernel-rootfs "2021-04-20-kernel-modules"
|
MESA_ROOTFS_TAG: &kernel-rootfs "2021-04-20-gles-khr"
|
||||||
DISTRIBUTION_TAG: &distribution-tag-arm "${MESA_ROOTFS_TAG}--${MESA_IMAGE_TAG}--${MESA_TEMPLATES_COMMIT}"
|
DISTRIBUTION_TAG: &distribution-tag-arm "${MESA_ROOTFS_TAG}--${MESA_IMAGE_TAG}--${MESA_TEMPLATES_COMMIT}"
|
||||||
script:
|
script:
|
||||||
- .gitlab-ci/container/lava_build.sh
|
- .gitlab-ci/container/lava_build.sh
|
||||||
|
@@ -52,6 +52,9 @@ cp \
|
|||||||
cp \
|
cp \
|
||||||
/deqp/external/openglcts/modules/gl_cts/data/mustpass/egl/aosp_mustpass/3.2.6.x/egl-master.txt \
|
/deqp/external/openglcts/modules/gl_cts/data/mustpass/egl/aosp_mustpass/3.2.6.x/egl-master.txt \
|
||||||
/deqp/mustpass/.
|
/deqp/mustpass/.
|
||||||
|
cp \
|
||||||
|
/deqp/external/openglcts/modules/gl_cts/data/mustpass/gles/khronos_mustpass/3.2.6.x/*-master.txt \
|
||||||
|
/deqp/mustpass/.
|
||||||
cp \
|
cp \
|
||||||
/deqp/external/openglcts/modules/gl_cts/data/mustpass/gl/khronos_mustpass/4.6.1.x/*-master.txt \
|
/deqp/external/openglcts/modules/gl_cts/data/mustpass/gl/khronos_mustpass/4.6.1.x/*-master.txt \
|
||||||
/deqp/mustpass/.
|
/deqp/mustpass/.
|
||||||
|
@@ -13,7 +13,7 @@ DEQP_OPTIONS="$DEQP_OPTIONS --deqp-gl-config-name=$DEQP_CONFIG"
|
|||||||
DEQP_OPTIONS="$DEQP_OPTIONS --deqp-visibility=hidden"
|
DEQP_OPTIONS="$DEQP_OPTIONS --deqp-visibility=hidden"
|
||||||
|
|
||||||
if [ -z "$DEQP_VER" ]; then
|
if [ -z "$DEQP_VER" ]; then
|
||||||
echo 'DEQP_VER must be set to something like "gles2", "gles31" or "vk" for the test run'
|
echo 'DEQP_VER must be set to something like "gles2", "gles31-khr" or "vk" for the test run'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -51,6 +51,10 @@ elif [ "$DEQP_VER" = "gles2" -o "$DEQP_VER" = "gles3" -o "$DEQP_VER" = "gles31"
|
|||||||
cp /deqp/mustpass/$DEQP_VER-$DEQP_VARIANT.txt /tmp/case-list.txt
|
cp /deqp/mustpass/$DEQP_VER-$DEQP_VARIANT.txt /tmp/case-list.txt
|
||||||
DEQP=/deqp/modules/$DEQP_VER/deqp-$DEQP_VER
|
DEQP=/deqp/modules/$DEQP_VER/deqp-$DEQP_VER
|
||||||
SUITE=dEQP
|
SUITE=dEQP
|
||||||
|
elif [ "$DEQP_VER" = "gles2-khr" -o "$DEQP_VER" = "gles3-khr" -o "$DEQP_VER" = "gles31-khr" -o "$DEQP_VER" = "gles32-khr" ]; then
|
||||||
|
cp /deqp/mustpass/$DEQP_VER-$DEQP_VARIANT.txt /tmp/case-list.txt
|
||||||
|
DEQP=/deqp/external/openglcts/modules/glcts
|
||||||
|
SUITE=dEQP
|
||||||
else
|
else
|
||||||
cp /deqp/mustpass/$DEQP_VER-$DEQP_VARIANT.txt /tmp/case-list.txt
|
cp /deqp/mustpass/$DEQP_VER-$DEQP_VARIANT.txt /tmp/case-list.txt
|
||||||
DEQP=/deqp/external/openglcts/modules/glcts
|
DEQP=/deqp/external/openglcts/modules/glcts
|
||||||
@@ -188,7 +192,7 @@ check_renderer() {
|
|||||||
# If you're having trouble loading your driver, uncommenting this may help
|
# If you're having trouble loading your driver, uncommenting this may help
|
||||||
# debug.
|
# debug.
|
||||||
# export EGL_LOG_LEVEL=debug
|
# export EGL_LOG_LEVEL=debug
|
||||||
VERSION=`echo $DEQP_VER | tr '[a-z]' '[A-Z]'`
|
VERSION=`echo $DEQP_VER | cut -d '-' -f1 | tr '[a-z]' '[A-Z]'`
|
||||||
export LD_PRELOAD=$TEST_LD_PRELOAD
|
export LD_PRELOAD=$TEST_LD_PRELOAD
|
||||||
$DEQP $DEQP_OPTIONS --deqp-case=$SUITE-$VERSION.info.\* --deqp-log-filename=$RESULTS/deqp-info.qpa
|
$DEQP $DEQP_OPTIONS --deqp-case=$SUITE-$VERSION.info.\* --deqp-log-filename=$RESULTS/deqp-info.qpa
|
||||||
export LD_PRELOAD=
|
export LD_PRELOAD=
|
||||||
|
Reference in New Issue
Block a user