All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Colin McAllister" <colinmca242@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Colin Pinnell McAllister <colinmca242@gmail.com>
Subject: [meta-oe][PATCH] xdg-dbus-proxy: add ptests
Date: Fri, 20 Mar 2026 17:09:10 -0500	[thread overview]
Message-ID: <20260320220910.3129299-1-colinmca242@gmail.com> (raw)

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



                 reply	other threads:[~2026-03-20 22:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260320220910.3129299-1-colinmca242@gmail.com \
    --to=colinmca242@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.