Skip to contentSkip to conversation

piglit: use TestPlaceholder objects

PATCH In review [email protected] 2 participants 4 messages Aug 15, 2025

lore
Share & tools
lore
#0 lore raw

cover piglit: use TestPlaceholder objects

From: Randolph Sapp <[email protected]>

I've submitted this to the upstream piglit repo, but given that it isn't actually a bugfix and more of just a requirement for our memory constrained devices, we should probably carry it here until oe-core catches up.

Randolph Sapp (2):
piglit: fix FILESEXTRAPATHS variable
piglit: use TestPlaceholder to reduce memory usage

 .../recipes-graphics/piglit/piglit-ti.inc     |   4 +-
 ...-add-and-use-TestPlaceholder-objects.patch | 129 ++++++++++++++++++
 2 files changed, 132 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-test/recipes-graphics/piglit/piglit/0001-framework-add-and-use-TestPlaceholder-objects.patch
Signature · 1 line
2.50.1
#1 lore raw

PATCH 1/2 piglit: fix FILESEXTRAPATHS variable

From: Randolph Sapp <[email protected]>

Explicitly set the package name in the FILESEXTRAPATHS variable used in piglit-ti.inc.

Using prepend forces early variable evaluation of the PN variable. Apparently this is so early in the process that it is still using the default value of "defaultpkgname".

Fixes e7280032 ("piglit: Wrap the bbappend in a compliant manner")
---
 meta-arago-test/recipes-graphics/piglit/piglit-ti.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-test/recipes-graphics/piglit/piglit-ti.inc +1 -1
index fb533533..73df681e 100644
@@ -1,7 +1,7 @@
 # add a config to point piglit at the default install location for deqp tests
 # if they are selected
 
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/piglit:"
 
 PACKAGECONFIG[deqp-gles] = ",,,opengl-es-cts"
 PACKAGECONFIG[deqp-vk] = ",,,vulkan-cts"
Signature · 1 line
2.50.1
#2 lore raw

PATCH 2/2 piglit: use TestPlaceholder to reduce memory usage

In reply to [email protected]

From: Randolph Sapp <[email protected]>

Backport the patch that uses TestPlaceholder objects to reduce memory usage and increase test execution speeds when using subsets of the deqp test suites.

---
 .../recipes-graphics/piglit/piglit-ti.inc     |   2 +
 ...-add-and-use-TestPlaceholder-objects.patch | 129 ++++++++++++++++++
 2 files changed, 131 insertions(+)
 create mode 100644 meta-arago-test/recipes-graphics/piglit/piglit/0001-framework-add-and-use-TestPlaceholder-objects.patch
meta-arago-test/recipes-graphics/piglit/piglit-ti.inc +2 -0
index 73df681e..707ef6a4 100644
@@ -3,6 +3,8 @@
 
 FILESEXTRAPATHS:prepend := "${THISDIR}/piglit:"
 
+SRC_URI += "file://0001-framework-add-and-use-TestPlaceholder-objects.patch"
+
 PACKAGECONFIG[deqp-gles] = ",,,opengl-es-cts"
 PACKAGECONFIG[deqp-vk] = ",,,vulkan-cts"
 
meta-arago-test/recipes-graphics/piglit/piglit/0001-framework-add-and-use-TestPlaceholder-objects.patch new file +129 -0

129 lines not on this page · raw message

Signature · 1 line
2.50.1
#3 lore raw
In reply to [email protected]

meta-arago / na / 20250815193156.1982216-1-rs

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master/scarthgap][PATCH 0/2] piglit: use TestPlaceholder objects
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Fri, 15 Aug 2025 14:31:54 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 1350f147ab21dd6a5a778531d097a51d06abd221

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Thorsten Lannynd <[email protected]>
- Commit Subject: meta-arago-distro: chromium: add patches to chromium recipe
- Commit SHA: d1ef0b67ed595c06f205f145736eaef81a3f670c

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

scarthgap
=====================
Summary:
- Patch Series: [meta-arago][master/scarthgap][PATCH 0/2] piglit: use TestPlaceholder objects
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Fri, 15 Aug 2025 14:31:54 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 1350f147ab21dd6a5a778531d097a51d06abd221

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: scarthgap-wip
- Commit Author: Thorsten Lannynd <[email protected]>
- Commit Subject: meta-arago-distro: chromium: add patches to chromium recipe
- Commit SHA: 651670d4bc7d0187c50f5b805e1df1b69e0ca8e9

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

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

scarthgap
=====================
PASS