[oe-commits] Paul Eggleton : oe-selftest: add missing dependency to test_recipetool_create_git

git at git.openembedded.org git at git.openembedded.org
Fri Mar 20 11:28:35 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 00ca890d8a56c4c05ce5bda87b3d9d1452ddfa36
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=00ca890d8a56c4c05ce5bda87b3d9d1452ddfa36

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Sun Mar 15 20:40:28 2015 +0000

oe-selftest: add missing dependency to test_recipetool_create_git

libmatchbox links to libjpeg if it is present so just explicitly build
it and then check it appears in DEPENDS.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/lib/oeqa/selftest/devtool.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index 869fecf..dc1cf21 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -67,7 +67,7 @@ class DevtoolTests(oeSelfTest):
 
     def test_recipetool_create_git(self):
         # Ensure we have the right data in shlibs/pkgdata
-        bitbake('libpng pango libx11 libxext')
+        bitbake('libpng pango libx11 libxext jpeg')
         # Try adding a recipe
         tempdir = tempfile.mkdtemp(prefix='devtoolqa')
         self.track_for_cleanup(tempdir)
@@ -83,7 +83,7 @@ class DevtoolTests(oeSelfTest):
         checkvars['S'] = '${WORKDIR}/git'
         checkvars['PV'] = '1.0+git${SRCPV}'
         checkvars['SRC_URI'] = srcuri
-        checkvars['DEPENDS'] = 'libpng pango libx11 libxext'
+        checkvars['DEPENDS'] = 'libpng pango libx11 libxext jpeg'
         inherits = []
         with open(recipefile, 'r') as f:
             for line in f:



More information about the Openembedded-commits mailing list