mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 20:27:58 +02:00
oeqa/selftest/devtool: Ensure dbus is built befoe running test
If dbus isn't build first the dbus dependency of dbus-wait can't be detected
through pkgconfig and the test fails:
AssertionError: {'DEPENDS': {'dbus'}} != {}
- {'DEPENDS': {'dbus'}}
+ {} : Some expected variables not found in recipe: {'DEPENDS': {'dbus'}}
Ensure dbus is built and present in the sysroot.
(From OE-Core rev: 28699b4257436fb6079eafe50ca8cab09a2fdd90)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -235,6 +235,8 @@ class DevtoolTests(DevtoolBase):
|
||||
|
||||
@OETestID(1423)
|
||||
def test_devtool_add_git_local(self):
|
||||
# We need dbus built so that DEPENDS recognition works
|
||||
bitbake('dbus')
|
||||
# Fetch source from a remote URL, but do it outside of devtool
|
||||
tempdir = tempfile.mkdtemp(prefix='devtoolqa')
|
||||
self.track_for_cleanup(tempdir)
|
||||
|
||||
Reference in New Issue
Block a user