All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] xdg-dbus-proxy: add ptests
@ 2026-03-20 22:09 Colin McAllister
  0 siblings, 0 replies; only message in thread
From: Colin McAllister @ 2026-03-20 22:09 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Colin Pinnell McAllister

Adds ptest support for xdg-dbus-proxy.

Signed-off-by: Colin Pinnell McAllister <colinmca242@gmail.com>
---
 .../xdg-dbus-proxy/xdg-dbus-proxy/run-ptest          |  2 ++
 .../xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb           | 12 ++++++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
 create mode 100755 meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest

diff --git a/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest b/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest
new file mode 100755
index 0000000000..ff4b0b49ad
--- /dev/null
+++ b/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest
@@ -0,0 +1,2 @@
+#!/bin/sh
+gnome-desktop-testing-runner xdg-dbus-proxy
diff --git a/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb b/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb
index 43536f5d7b..28773163c5 100644
--- a/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb
+++ b/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb
@@ -9,10 +9,18 @@ DEPENDS = " \
     docbook-xsl-stylesheets-native \
 "
 
-inherit meson pkgconfig
+inherit meson pkgconfig ptest-gnome
 
-SRC_URI = "git://github.com/flatpak/xdg-dbus-proxy.git;protocol=https;branch=main"
+SRC_URI = " \
+    git://github.com/flatpak/xdg-dbus-proxy.git;protocol=https;branch=main \
+    file://run-ptest \
+    "
 
 SRCREV = "1c1989e56f94b9eb3b7567f8a6e8a0aa16cba496"
 
+PACKAGECONFIG = "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
+PACKAGECONFIG[tests] = "-Dtests=true -Dinstalled_tests=true,-Dtests=false -Dinstalled_tests=false"
+
+RDEPENDS:${PN}-ptest += "dbus"
+
 BBCLASSEXTEND = "native"
-- 
2.53.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-03-20 22:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 22:09 [meta-oe][PATCH] xdg-dbus-proxy: add ptests Colin McAllister

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.