xdg-dbus-proxy: add ptests
PATCH 1/1 xdg-dbus-proxy: add ptests
Adds ptest support for xdg-dbus-proxy.
Signed-off-by Colin Pinnell McAllister <[email protected]>
--- .../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
meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest new file +2 -0
@@ -0,0 +1,2 @@ +#!/bin/sh +gnome-desktop-testing-runner xdg-dbus-proxy
meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb +10 -2
@@ -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"
Signature · 1 line
2.53.0