aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-13 22:16:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-15 16:34:12 +0100
commit28699b4257436fb6079eafe50ca8cab09a2fdd90 (patch)
tree01edf12df28f10e19c5901f0b83beff705b46842
parentaef07f09e224485539d8bc66ddac8bf394e4092a (diff)
downloadopenembedded-core-contrib-28699b4257436fb6079eafe50ca8cab09a2fdd90.tar.gz
openembedded-core-contrib-28699b4257436fb6079eafe50ca8cab09a2fdd90.tar.bz2
openembedded-core-contrib-28699b4257436fb6079eafe50ca8cab09a2fdd90.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index d5b6a46d49..723d8e19cf 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -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)