summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-13 22:16:28 +0000
committerArmin Kuster <akuster808@gmail.com>2019-04-09 17:57:17 +0530
commitaf7ba26a603a12de0aed35e786674c92049c2bee (patch)
treeda6328e52664c41c1df1b2bbc29e51ffb2fd5325
parentcc771aa4b74f222f1bea38b0b50196b2fbc97ab4 (diff)
downloadopenembedded-core-contrib-af7ba26a603a12de0aed35e786674c92049c2bee.tar.gz
openembedded-core-contrib-af7ba26a603a12de0aed35e786674c92049c2bee.tar.bz2
openembedded-core-contrib-af7ba26a603a12de0aed35e786674c92049c2bee.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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-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 0ce90a4af9..627bc65e42 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -300,6 +300,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)