On Thu, Jun 15, 2023 at 12:28:07PM -0500, [email protected] wrote:
> From: Randolph Sapp <[email protected]>
> 
> This is required for images that expect ti-test to be installed but
> actually use a ramdisk for primary storage. Piglit and the corresponding
> cts tests are the real problems at the moment so we're moving those
> first. Other tests may follow.

Why not make it a single packagegroup recipe producing 2 packages? Other 
packagegroups already doing it - tisdk-matrix, tisdk-addons, tisdk-opencl.


> Signed-off-by: Randolph Sapp <[email protected]>
> ---
>  .../recipes-core/images/tisdk-default-image.bb   |  1 +
>  .../recipes-core/packagegroups/ti-test-extras.bb | 16 ++++++++++++++++
>  .../recipes-core/packagegroups/ti-test.bb        |  3 ---
>  3 files changed, 17 insertions(+), 3 deletions(-)
>  create mode 100644 
> meta-arago-distro/recipes-core/packagegroups/ti-test-extras.bb
> 
> diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb 
> b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> index 3b9747c1..bb825e09 100644
> --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> +++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> @@ -12,6 +12,7 @@ IMAGE_INSTALL += "\
>      packagegroup-arago-console \
>      packagegroup-arago-base-tisdk \
>      ti-test \
> +    ti-test-extras \
>      
> ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)}
>  \
>      
> ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk','',d)}
>  \
>      
> ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-qte','',d)}
>  \
> diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-test-extras.bb 
> b/meta-arago-distro/recipes-core/packagegroups/ti-test-extras.bb
> new file mode 100644
> index 00000000..6d69b165
> --- /dev/null
> +++ b/meta-arago-distro/recipes-core/packagegroups/ti-test-extras.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "TI Testing packagegroup for big tests"
> +LICENSE = "MIT"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +inherit packagegroup
> +
> +ARAGO_TEST_EXTRAS = "\
> +    piglit \
> +    ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "opengl-es-cts", "", 
> d)} \
> +    ${@bb.utils.contains("DISTRO_FEATURES", "vulkan", "vulkan-cts", "", d)} \
> +"
> +
> +RDEPENDS:${PN} = "\
> +    ${ARAGO_TEST_EXTRAS} \
> +"
> diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-test.bb 
> b/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
> index 210bc5a9..3e45077b 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
> @@ -38,9 +38,6 @@ 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.41.0


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


Reply via email to