ti-test: Break into multiple packagegroups
PATCH 1/2 ti-test: Break into multiple packagegroups
To allow for tests to just pull in a smaller set of programs, break the big ti-test package into multiple smaller ones based on functionality:
ti-test-audio
ti-test-graphics
ti-test-multimedia
ti-test-networking
ti-test-storage
ti-test-ti-tools
Installing ti-test will pull in ti-test-networking, ti-test-storage, and ti-test-ti-tools.
Installing ti-test-extra will pull in ti-test-audio, ti-test-graphics, and ti-test-multimedia.
--- .../recipes-core/packagegroups/ti-test.bb | 111 ++++++++++++------ 1 file changed, 73 insertions(+), 38 deletions(-)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +73 -38
@@ -5,27 +5,25 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup +PACKAGES += " \ + ${PN}-audio \ + ${PN}-extras \ + ${PN}-graphics \ + ${PN}-multimedia \ + ${PN}-networking \ + ${PN}-storage \ + ${PN}-ti-tools \ +" + TI_TEST_BASE = "\ - alsa-utils \ bc \ bonnie++ \ - bridge-utils \ cryptodev-tests \ devmem2 \ dma-heap-tests \ - dosfstools \ - ethtool \ evtest \ - fio \ git \ - gst-devtools \ - hwspinlocktest \ - hdparm \ i2c-tools \ - iozone3 \ - iproute2-tc \ - iproute2-devlink \ - iperf3 \ kernel-modules \ kernel-selftest \ kmsxx \
@@ -36,11 +34,7 @@ TI_TEST_BASE = "\ lsof \ media-ctl \ memtester \ - mstpd \ - mtd-utils \ - mtd-utils-ubifs \ nbench-byte \ - netperf \ openntpd \ ${@"optee-test" if d.getVar('OPTEEMACHINE') else ""} \ pcitest \
@@ -48,7 +42,6 @@ TI_TEST_BASE = "\ perf \ powertop \ procps \ - pulseaudio-misc \ rng-tools \ rt-tests \ rwmem \
@@ -56,20 +49,19 @@ TI_TEST_BASE = "\ stream \ stress \ stress-ng \ - strongswan \ - tcpdump \ - v4l-utils \ - xdp-tools-arago \ - yavta \ " -TI_TEST_BASE:append:ti-soc = " \ - mtd-utils-ubifs-tests \ +TI_TEST_BASE:append:armv7a = " \ + cpuburn-neon \ " -TI_TEST_EXTRAS_OPENGL = " \ - piglit \ - offscreendemo \ +TI_TEST_BASE:append:armv7ve = " \ + cpuburn-neon \ +" + +TI_TEST_AUDIO = "\ + alsa-utils \ + pulseaudio-misc \ " TI_TEST_EXTRAS_OPENCL = " \
@@ -80,23 +72,56 @@ TI_TEST_EXTRAS = " \ python3-pillow \ pytesseract \ python3-numpy \ - wayland-utils \ - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${TI_TEST_EXTRAS_OPENGL}', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'opencl', '${TI_TEST_EXTRAS_OPENCL}', '', d)} \ " -TI_TEST_BASE:append:armv7a = " \ - cpuburn-neon \ +TI_TEST_GRAPHICS_OPENGL = " \ + piglit \ + offscreendemo \ " -TI_TEST_BASE:append:armv7ve = " \ - cpuburn-neon \ +TI_TEST_GRAPHICS = " \ + wayland-utils \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${TI_TEST_GRAPHICS_OPENGL}', '', d)} \ +" + +TI_TEST_MULTIMEDIA = "\ + gst-devtools \ + v4l-utils \ + yavta \ +" + +TI_TEST_NETWORKING = "\ + bridge-utils \ + ethtool \ + iperf3 \ + iproute2-tc \ + iproute2-devlink \ + mstpd \ + netperf \ + strongswan \ + tcpdump \ + xdp-tools-arago \ +" + +TI_TEST_STORAGE = "\ + dosfstools \ + fio \ + hdparm \ + iozone3 \ + mtd-utils \ + mtd-utils-ubifs \ +" + +TI_TEST_STORAGE:append:ti-soc = " \ + mtd-utils-ubifs-tests \ " TI_TEST_TI_TOOLS = " \ arm-benchmarks \ arm-ddr-bandwidth \ coremark \ + hwspinlocktest \ input-utils \ ltp-ddt \ openssl-perf \
@@ -164,13 +189,23 @@ TI_TEST_TI_TOOLS:append:omapl138 = " \ ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'ti-ipc-test', d)} \ " +RDEPENDS:${PN}-audio = "${TI_TEST_AUDIO}" +RDEPENDS:${PN}-extras = "${TI_TEST_EXTRAS}" +RDEPENDS:${PN}-graphics = "${TI_TEST_GRAPHICS}" +RDEPENDS:${PN}-multimedia = "${TI_TEST_MULTIMEDIA}" +RDEPENDS:${PN}-networking = "${TI_TEST_NETWORKING}" +RDEPENDS:${PN}-storage = "${TI_TEST_STORAGE}" +RDEPENDS:${PN}-ti-tools = "${TI_TEST_TI_TOOLS}" + RDEPENDS:${PN} = "\ ${TI_TEST_BASE} \ - ${TI_TEST_TI_TOOLS} \ + ${PN}-networking \ + ${PN}-storage \ + ${PN}-ti-tools \ " -# Package group for things that should only be present in arago-default-image -PACKAGES += " ${PN}-extras" -RDEPENDS:${PN}-extras = "\ - ${TI_TEST_EXTRAS} \ +RDEPENDS:${PN}-extras += "\ + ${PN}-audio \ + ${PN}-graphics \ + ${PN}-multimedia \ "
Signature · 1 line
2.43.0
PATCH 2/2 ti-test: Add ffmpeg and mpv to ti-test-multimedia
FFMPEG and MPV are required during automated testing. Explicitly add these to ti-test.
Also add the commercial_ffmpeg setting to LICENSE_FLAGS_ACCEPTED for the layer.
--- meta-arago-test/conf/layer.conf | 5 +++++ meta-arago-test/recipes-core/packagegroups/ti-test.bb | 2 ++ 2 files changed, 7 insertions(+)
meta-arago-test/conf/layer.conf +5 -0
@@ -26,3 +26,8 @@ LAYERDEPENDS_meta-arago-test = " \ BBFILES_DYNAMIC += " \ qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/recipes*/*/*.bbappend \ " + +# Codecs in ffmpeg with questionable patent status are not included by +# default. As this entire layer is purely optional for testing purposes only +# and not meant to be shipped, add support for the ffmpeg commercial license. +LICENSE_FLAGS_ACCEPTED = "commercial_ffmpeg"
meta-arago-test/recipes-core/packagegroups/ti-test.bb +2 -0
@@ -86,7 +86,9 @@ TI_TEST_GRAPHICS = " \ " TI_TEST_MULTIMEDIA = "\ + ffmpeg \ gst-devtools \ + mpv \ v4l-utils \ yavta \ "
Signature · 1 line
2.43.0
meta-arago / na / 20260303164829.299398-1-reatmon
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH 1/2] ti-test: Break into multiple packagegroups
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Tue, 3 Mar 2026 10:48:28 -0600
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: ab696cd2be7702f7ec6bc03e6afb5813629415d7
Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-next
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: arago.conf: Remove temporary hack for DEFAULTTUNE on armv7a
- Commit SHA: 58966cd5a2d433b4c915e652f21f2e2b2475ec21
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS
=========================================================
yocto-check-layers: FAIL
=========================================================
master - FAIL
=====================
ERROR: Nothing PROVIDES 'xen-guest-image-minimal'
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
ERROR: Signature change for opencv
opencv:do_recipe_qa: b918c287ba59cb6ae736b54917476fed1a6d9f8cfdad58a2659f40b69778d960 -> dce1f0c92f5e2430d5808ae968a5b14cc68046b17d81172b7a7854f818e45054
bitbake-diffsigs --task opencv do_recipe_qa --signature b918c287ba59cb6ae736b54917476fed1a6d9f8cfdad58a2659f40b69778d960 dce1f0c92f5e2430d5808ae968a5b14cc68046b17d81172b7a7854f818e45054
NOTE: Reconnecting to bitbake server...
basehash changed from d93484f40c528aafd57b8eb594a71359f3127048c53c7171ee91a521ce1592ea to 45b0ce43bce97313ace71acbe01715c0ac544f1a0786657c4e4e1b25048f2867 Variable PACKAGECONFIG value changed:
@@ -2,4 +2,4 @@
DISTRO_FEATURES{wayland} = Set
DISTRO_FEATURES{x11} = Set
LICENSE_FLAGS_ACCEPTED{commercial} = Unset
-LICENSE_FLAGS_ACCEPTED{commercial_ffmpeg} = Unset
+LICENSE_FLAGS_ACCEPTED{commercial_ffmpeg} = Set