[oe-commits] [openembedded-core] 15/16: oeqa/selftest/devtool: Ensure dbus is built befoe running test

git at git.openembedded.org git at git.openembedded.org
Fri Jul 13 22:39:08 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 168a36dd545cefe7a07a1ed814aead800e447afa
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Jul 13 22:16:28 2018 +0000

    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 at linuxfoundation.org>
---
 meta/lib/oeqa/selftest/cases/devtool.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index e7d1a7f..2307972 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -237,6 +237,8 @@ class DevtoolAddTests(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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list