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


>  meta-arago-distro/conf/distro/arago.conf                | 3 +++
>  meta-arago-distro/recipes-core/packagegroups/ti-test.bb | 3 +++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/meta-arago-distro/conf/distro/arago.conf 
> b/meta-arago-distro/conf/distro/arago.conf
> index a6425fae..2f81f118 100644
> --- a/meta-arago-distro/conf/distro/arago.conf
> +++ b/meta-arago-distro/conf/distro/arago.conf
> @@ -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"
>  
> diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-test.bb 
> b/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
> index 0b6e1eed..929d63c7 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
> @@ -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 = " \
> -- 
> 2.40.1
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14508): 
https://lists.yoctoproject.org/g/meta-arago/message/14508
Mute This Topic: https://lists.yoctoproject.org/mt/99371059/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-arago/leave/10763299/21656/89520264/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to