diff options
| author | Colin McAllister <colinmca242@gmail.com> | 2026-03-20 17:09:10 -0500 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-03-20 17:35:59 -0700 |
| commit | c40024aa116a3d3881b241d90aed018c9c61f944 (patch) | |
| tree | 27915758f4c5c609400d53151712f99c21d265ee | |
| parent | 69e42c4fbd164ad7e63b92869e6ac5ff2ccc8b92 (diff) | |
| download | meta-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-x | meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb | 12 |
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 | ||
| 2 | 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 = " \ | |||
| 9 | docbook-xsl-stylesheets-native \ | 9 | docbook-xsl-stylesheets-native \ |
| 10 | " | 10 | " |
| 11 | 11 | ||
| 12 | inherit meson pkgconfig | 12 | inherit meson pkgconfig ptest-gnome |
| 13 | 13 | ||
| 14 | SRC_URI = "git://github.com/flatpak/xdg-dbus-proxy.git;protocol=https;branch=main" | 14 | SRC_URI = " \ |
| 15 | git://github.com/flatpak/xdg-dbus-proxy.git;protocol=https;branch=main \ | ||
| 16 | file://run-ptest \ | ||
| 17 | " | ||
| 15 | 18 | ||
| 16 | SRCREV = "1c1989e56f94b9eb3b7567f8a6e8a0aa16cba496" | 19 | SRCREV = "1c1989e56f94b9eb3b7567f8a6e8a0aa16cba496" |
| 17 | 20 | ||
| 21 | PACKAGECONFIG = "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | ||
| 22 | PACKAGECONFIG[tests] = "-Dtests=true -Dinstalled_tests=true,-Dtests=false -Dinstalled_tests=false" | ||
| 23 | |||
| 24 | RDEPENDS:${PN}-ptest += "dbus" | ||
| 25 | |||
| 18 | BBCLASSEXTEND = "native" | 26 | BBCLASSEXTEND = "native" |
