summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-13 22:16:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-25 15:01:21 +0100
commit65681147b2339d119a9e2f864103ea83b544daa3 (patch)
treefd74470046d09b7d280727beb95e9ad4703130be
parent8c7ca97dd6fe790453dee2d245db0594e58c6fbf (diff)
downloadpoky-65681147b2339d119a9e2f864103ea83b544daa3.tar.gz
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: af7ba26a603a12de0aed35e786674c92049c2bee) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> 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 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):
300 300
301 @OETestID(1423) 301 @OETestID(1423)
302 def test_devtool_add_git_local(self): 302 def test_devtool_add_git_local(self):
303 # We need dbus built so that DEPENDS recognition works
304 bitbake('dbus')
303 # Fetch source from a remote URL, but do it outside of devtool 305 # Fetch source from a remote URL, but do it outside of devtool
304 tempdir = tempfile.mkdtemp(prefix='devtoolqa') 306 tempdir = tempfile.mkdtemp(prefix='devtoolqa')
305 self.track_for_cleanup(tempdir) 307 self.track_for_cleanup(tempdir)