Message ID | 20251016140413.2602136-1-skandigraun@gmail.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-oe] fwupd: fix ptests | expand |
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb index eb43c3d865..a40fa923f3 100644 --- a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb +++ b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb @@ -85,7 +85,7 @@ FILES:${PN} += "\ FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \ ${datadir}/installed-tests/" -RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3" +RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3 dbus" # ESP mounting, not strictly necessary RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'udisks2', '', d)}"
The ptest package requires dbus as a runtime dependency, otherwise the tests fail with the following error: Failed to connect to daemon: Could not connect: No such file or directory FAIL: fwupd/fwupd.test (Child process exited with code 1) SUMMARY: total=1; passed=0; skipped=0; failed=1; user=0.7s; system=0.1s; maxrss=21716 FAIL: fwupd/fwupd.test (Child process exited with code 1) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> --- meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)