diff options
author | 2018-07-13 22:16:28 +0000 | |
---|---|---|
committer | 2019-04-25 15:01:21 +0100 | |
commit | 65681147b2339d119a9e2f864103ea83b544daa3 (patch) | |
tree | fd74470046d09b7d280727beb95e9ad4703130be | |
parent | 8c7ca97dd6fe790453dee2d245db0594e58c6fbf (diff) | |
download | poky-65681147b2339d119a9e2f864103ea83b544daa3.tar.gz poky-65681147b2339d119a9e2f864103ea83b544daa3.tar.bz2 poky-65681147b2339d119a9e2f864103ea83b544daa3.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.
(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.py | 2 |
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) |