ti-test: add piglit to ARAGO_TEST
PATCH v2 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.
---
Ugh. I love how yocto will arbitrarily pad certain fields with whitespace and simultaneously expect you to pad others manually.
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
@@ -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
@@ -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
Quoted 11 lines · On Tue, Jun 06, 2023 at 02:51:01PM -0500, [email protected] wrote:
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.
Signed-off-by Randolph Sapp <[email protected]>---
Ugh. I love how yocto will arbitrarily pad certain fields with whitespace and simultaneously expect you to pad others manually.
Sections 3.1.8, 3.1.9 and 3.1.10 of Bitbake manual:
3.1.8 Appending (+=) and prepending (=+) With Spaces 3.1.9 Appending (.=) and Prepending (=.) Without Spaces 3.1.10 Appending and Prepending (:append Override Style Syntax)
https://docs.yoctoproject.org/bitbake/2.4/bitbake-user-manual/bitbake-user-manual-metadata.html#appending-and-prepending-with-spaces
https://docs.yoctoproject.org/bitbake/2.4/bitbake-user-manual/bitbake-user-manual-metadata.html#appending-and-prepending-without-spaces
https://docs.yoctoproject.org/bitbake/2.4/bitbake-user-manual/bitbake-user-manual-metadata.html#appending-and-prepending-override-style-syntax
Quoted 35 lines
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@@ -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@@ -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