summaryrefslogtreecommitdiffstats
path: root/meta
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-16 13:21:34 +0100
commit5456a9261d4b810207d9e65afb47a488063bb03e (patch)
tree419244ad3c19b81d5cf54d5ade07d7dbd7182be6 /meta
parent9a53d315ef63ce2b2573e7d8b6814edf3549e98f (diff)
downloadpoky-5456a9261d4b810207d9e65afb47a488063bb03e.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: 28699b4257436fb6079eafe50ca8cab09a2fdd90) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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):
235 235
236 @OETestID(1423) 236 @OETestID(1423)
237 def test_devtool_add_git_local(self): 237 def test_devtool_add_git_local(self):
238 # We need dbus built so that DEPENDS recognition works
239 bitbake('dbus')
238 # Fetch source from a remote URL, but do it outside of devtool 240 # Fetch source from a remote URL, but do it outside of devtool
239 tempdir = tempfile.mkdtemp(prefix='devtoolqa') 241 tempdir = tempfile.mkdtemp(prefix='devtoolqa')
240 self.track_for_cleanup(tempdir) 242 self.track_for_cleanup(tempdir)