diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-03-15 20:40:28 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-20 11:27:49 +0000 |
| commit | 6f6e866ba2824b6b251f7b86326bb1b326a04aab (patch) | |
| tree | c8ec70e26ca6760435ee9cdec24f5b67c42bf732 | |
| parent | 0a45ccb253b269d49864934adc2ea02ba2fe3626 (diff) | |
| download | poky-6f6e866ba2824b6b251f7b86326bb1b326a04aab.tar.gz | |
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>
| -rw-r--r-- | meta/lib/oeqa/selftest/devtool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index 869fecf7e6..dc1cf21064 100644 --- a/meta/lib/oeqa/selftest/devtool.py +++ b/meta/lib/oeqa/selftest/devtool.py | |||
| @@ -67,7 +67,7 @@ class DevtoolTests(oeSelfTest): | |||
| 67 | 67 | ||
| 68 | def test_recipetool_create_git(self): | 68 | def test_recipetool_create_git(self): |
| 69 | # Ensure we have the right data in shlibs/pkgdata | 69 | # Ensure we have the right data in shlibs/pkgdata |
| 70 | bitbake('libpng pango libx11 libxext') | 70 | bitbake('libpng pango libx11 libxext jpeg') |
| 71 | # Try adding a recipe | 71 | # Try adding a recipe |
| 72 | tempdir = tempfile.mkdtemp(prefix='devtoolqa') | 72 | tempdir = tempfile.mkdtemp(prefix='devtoolqa') |
| 73 | self.track_for_cleanup(tempdir) | 73 | self.track_for_cleanup(tempdir) |
| @@ -83,7 +83,7 @@ class DevtoolTests(oeSelfTest): | |||
| 83 | checkvars['S'] = '${WORKDIR}/git' | 83 | checkvars['S'] = '${WORKDIR}/git' |
| 84 | checkvars['PV'] = '1.0+git${SRCPV}' | 84 | checkvars['PV'] = '1.0+git${SRCPV}' |
| 85 | checkvars['SRC_URI'] = srcuri | 85 | checkvars['SRC_URI'] = srcuri |
| 86 | checkvars['DEPENDS'] = 'libpng pango libx11 libxext' | 86 | checkvars['DEPENDS'] = 'libpng pango libx11 libxext jpeg' |
| 87 | inherits = [] | 87 | inherits = [] |
| 88 | with open(recipefile, 'r') as f: | 88 | with open(recipefile, 'r') as f: |
| 89 | for line in f: | 89 | for line in f: |
