Skip to contentSkip to conversation

Add libsdl2 test support

PATCH In review [email protected] 2 participants 4 messages Mar 17

lore
Share & tools
lore
#0 lore raw

v2 cover Add libsdl2 test support

From: Antonios Christidis <[email protected]>

Build and package libsdl2 tests.

Working on merging similar changes to oe-core master, but in the meantime the tests are needed.

Kind Regards,
Antonios

Antonios Christidis (2):
libsdl2: Add tests package
ti-test: Add libsdl2-tests to packagegroup

 meta-arago-test/recipes-core/packagegroups/ti-test.bb       | 1 +
 meta-arago-test/recipes-graphics/libsdl2/libsdl2-ti.inc     | 6 ++++++
 meta-arago-test/recipes-graphics/libsdl2/libsdl2_%.bbappend | 4 ++++
 3 files changed, 11 insertions(+)
 create mode 100644 meta-arago-test/recipes-graphics/libsdl2/libsdl2-ti.inc
 create mode 100644 meta-arago-test/recipes-graphics/libsdl2/libsdl2_%.bbappend
Signature · 1 line
2.34.1
#1 lore raw

PATCH v2 1/2 libsdl2: Add tests package

From: Antonios Christidis <[email protected]>

The software provides tests, configure cmake to build and install them. Package the tests in -tests package.

---
v2:
- Use "+=" instead of ":append" for EXTRA_OECMAKE

 meta-arago-test/recipes-graphics/libsdl2/libsdl2-ti.inc     | 6 ++++++
 meta-arago-test/recipes-graphics/libsdl2/libsdl2_%.bbappend | 4 ++++
 2 files changed, 10 insertions(+)
 create mode 100644 meta-arago-test/recipes-graphics/libsdl2/libsdl2-ti.inc
 create mode 100644 meta-arago-test/recipes-graphics/libsdl2/libsdl2_%.bbappend
meta-arago-test/recipes-graphics/libsdl2/libsdl2-ti.inc new file +6 -0
new file mode 100644
index 00000000..e28f42b5
@@ -0,0 +1,6 @@
+EXTRA_OECMAKE += "-DSDL_TESTS=ON \
+                  -DSDL_INSTALL_TESTS=ON \
+                 "
+PACKAGE_BEFORE_PN = "${PN}-tests"
+FILES:${PN}-tests += "${libexecdir} ${datadir}/installed-tests/SDL2"
+FILES:${PN}-tests:class-nativesdk += "${libexecdir} ${datadir}/installed-tests/SDL2"
meta-arago-test/recipes-graphics/libsdl2/libsdl2_%.bbappend new file +4 -0
new file mode 100644
index 00000000..385aa801
@@ -0,0 +1,4 @@
+LIBSDL2_TI = ""
+LIBSDL2_TI:ti-soc = "libsdl2-ti.inc"
+
+require ${LIBSDL2_TI}
Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 2/2 ti-test: Add libsdl2-tests to packagegroup

In reply to [email protected]

From: Antonios Christidis <[email protected]>

Add libsdl2-tests to the ti-test packagegroup.

---
 meta-arago-test/recipes-core/packagegroups/ti-test.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index b09ffcd9..df8f1323 100644
@@ -69,6 +69,7 @@ TI_TEST_EXTRAS_OPENCL = " \
 "
 
 TI_TEST_EXTRAS = " \
+    libsdl2-tests \
     python3-pillow \
     pytesseract \
     python3-numpy \
Signature · 1 line
2.34.1
#3 lore raw
In reply to [email protected]

meta-arago / na / 20260317203414.43798-1-a-christidis

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-arago][master][PATCH v2 2/2] ti-test: Add libsdl2-tests to packagegroup
WARN: Revised patch missing a comment. (REVISION-1)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH v2 0/2] Add libsdl2 test support
- Submitter: From: <[email protected]>
From: Antonios Christidis <[email protected]>
- Date: Date: Tue, 17 Mar 2026 15:34:12 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 0bdf2e912c65b39f01dd4ab7ac4057f618ec3e18

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Thorsten Lannynd <[email protected]>
- Commit Subject: ti-test: Add request and websocket-client to packagegroup
- Commit SHA: 64d6190f700d54addcd17687b7428a64c2bbb0fb

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed