Skip to contentSkip to conversation

ti-test: add piglit to ARAGO_TEST

PATCH New [email protected] 1 participant 1 message Jun 6, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-test: add piglit to ARAGO_TEST

From: Randolph Sapp <[email protected]>

Piglit is an OpenGL test suite and test-suite runner with support for OpenGLES, Vulkan, OpenCL compliance tests. This in particular is very nice in tracking feature regressions and driver conformance.

---
 meta-arago-distro/conf/distro/arago.conf                | 3 +++
 meta-arago-distro/recipes-core/packagegroups/ti-test.bb | 3 +++
 2 files changed, 6 insertions(+)
meta-arago-distro/conf/distro/arago.conf +3 -0
index a6425fae..cce73ba8 100644
@@ -95,6 +95,9 @@ PACKAGECONFIG:pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6",
 
 PACKAGECONFIG:pn-glmark2 = "drm-gles2 wayland-gles2"
 
+# Enable testing for opencl and vulkan with piglit
+PACKAGECONFIG:append:pn-piglit = "${@bb.utils.filter("DISTRO_FEATURES", "opencl vulkan", d)}"
+
 # Enable encryption support in open62541
 PACKAGECONFIG:append:pn-open62541 = " encrypt"
 
meta-arago-distro/recipes-core/packagegroups/ti-test.bb +3 -0
index 0b6e1eed..929d63c7 100644
@@ -39,6 +39,9 @@ ARAGO_TEST = "\
     nbench-byte \
     stream \
     cryptodev-tests \
+    piglit \
+    ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "opengl-es-cts", "", d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "vulkan", "vulkan-cts", "", d)} \
 "
 
 ARAGO_TEST:append:armv7a = " \
Signature · 1 line
2.40.1