Skip to contentSkip to conversation

ti-test: Break into multiple packagegroups

PATCH In review Ryan Eatmon 2 participants 3 messages Mar 3

lore
Share & tools
lore
#0 lore raw

PATCH v3 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.

---
v3: No change.
v2: No change.

 .../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
index f2ae1aef..d3458b9d 100644
@@ -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
#1 lore raw

PATCH v3 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.

---
v3: Move mpv behind the guard too.
v2: Move ffmpeg to be tied to building a ti-soc to bypass yocto-check-layers
error.

 meta-arago-test/conf/layer.conf                       | 5 +++++
 meta-arago-test/recipes-core/packagegroups/ti-test.bb | 5 +++++
 2 files changed, 10 insertions(+)
meta-arago-test/conf/layer.conf +5 -0
index ea0a3398..7e8bf1ab 100644
@@ -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:append:ti-soc = " commercial_ffmpeg"
meta-arago-test/recipes-core/packagegroups/ti-test.bb +5 -0
index d3458b9d..8067f4c1 100644
@@ -91,6 +91,11 @@ TI_TEST_MULTIMEDIA = "\
     yavta \
 "
 
+TI_TEST_MULTIMEDIA:append:ti-soc = " \
+    mpv \
+    ffmpeg \
+"
+
 TI_TEST_NETWORKING = "\
     bridge-utils \
     ethtool \
Signature · 1 line
2.43.0
#2 lore raw
In reply to Ryan Eatmon

meta-arago / na / 20260303180607.396737-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 v3 1/2] ti-test: Break into multiple packagegroups
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Tue, 3 Mar 2026 12:06:06 -0600
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: de69557393fc8f0fd7388765190e733f4acde828

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.