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.

(From OE-Core rev: 00ca890d8a56c4c05ce5bda87b3d9d1452ddfa36)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2015-03-15 20:40:28 +00:00 committed by Richard Purdie
parent 0a45ccb253
commit 6f6e866ba2
1 changed files with 2 additions and 2 deletions

View File

@ -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: