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>
This commit is contained in:
Colin McAllister 2026-03-20 17:09:10 -05:00 committed by Khem Raj
parent 69e42c4fbd
commit c40024aa11
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
gnome-desktop-testing-runner xdg-dbus-proxy

View File

@ -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"