summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin McAllister <colinmca242@gmail.com>2026-03-20 17:09:10 -0500
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-03-20 17:35:59 -0700
commitc40024aa116a3d3881b241d90aed018c9c61f944 (patch)
tree27915758f4c5c609400d53151712f99c21d265ee
parent69e42c4fbd164ad7e63b92869e6ac5ff2ccc8b92 (diff)
downloadmeta-openembedded-c40024aa116a3d3881b241d90aed018c9c61f944.tar.gz
xdg-dbus-proxy: add ptests
Adds ptest support for xdg-dbus-proxy. Signed-off-by: Colin Pinnell McAllister <colinmca242@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
-rwxr-xr-xmeta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest2
-rw-r--r--meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb12
2 files changed, 12 insertions, 2 deletions
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 @@
1#!/bin/sh
2gnome-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 = " \
9 docbook-xsl-stylesheets-native \ 9 docbook-xsl-stylesheets-native \
10" 10"
11 11
12inherit meson pkgconfig 12inherit meson pkgconfig ptest-gnome
13 13
14SRC_URI = "git://github.com/flatpak/xdg-dbus-proxy.git;protocol=https;branch=main" 14SRC_URI = " \
15 git://github.com/flatpak/xdg-dbus-proxy.git;protocol=https;branch=main \
16 file://run-ptest \
17 "
15 18
16SRCREV = "1c1989e56f94b9eb3b7567f8a6e8a0aa16cba496" 19SRCREV = "1c1989e56f94b9eb3b7567f8a6e8a0aa16cba496"
17 20
21PACKAGECONFIG = "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
22PACKAGECONFIG[tests] = "-Dtests=true -Dinstalled_tests=true,-Dtests=false -Dinstalled_tests=false"
23
24RDEPENDS:${PN}-ptest += "dbus"
25
18BBCLASSEXTEND = "native" 26BBCLASSEXTEND = "native"