diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/pkgdata.py')
| -rw-r--r-- | meta/lib/oeqa/selftest/pkgdata.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/pkgdata.py b/meta/lib/oeqa/selftest/pkgdata.py index 3512ce3531..36d8b346d0 100644 --- a/meta/lib/oeqa/selftest/pkgdata.py +++ b/meta/lib/oeqa/selftest/pkgdata.py | |||
| @@ -6,7 +6,7 @@ import fnmatch | |||
| 6 | 6 | ||
| 7 | import oeqa.utils.ftools as ftools | 7 | import oeqa.utils.ftools as ftools |
| 8 | from oeqa.selftest.base import oeSelfTest | 8 | from oeqa.selftest.base import oeSelfTest |
| 9 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var | 9 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars |
| 10 | from oeqa.utils.decorators import testcase | 10 | from oeqa.utils.decorators import testcase |
| 11 | 11 | ||
| 12 | class OePkgdataUtilTests(oeSelfTest): | 12 | class OePkgdataUtilTests(oeSelfTest): |
| @@ -126,10 +126,11 @@ class OePkgdataUtilTests(oeSelfTest): | |||
| 126 | curpkg = line.split(':')[0] | 126 | curpkg = line.split(':')[0] |
| 127 | files[curpkg] = [] | 127 | files[curpkg] = [] |
| 128 | return files | 128 | return files |
| 129 | base_libdir = get_bb_var('base_libdir') | 129 | bb_vars = get_bb_vars(['base_libdir', 'libdir', 'includedir', 'mandir']) |
| 130 | libdir = get_bb_var('libdir') | 130 | base_libdir = bb_vars['base_libdir'] |
| 131 | includedir = get_bb_var('includedir') | 131 | libdir = bb_vars['libdir'] |
| 132 | mandir = get_bb_var('mandir') | 132 | includedir = bb_vars['includedir'] |
| 133 | mandir = bb_vars['mandir'] | ||
| 133 | # Test recipe-space package name | 134 | # Test recipe-space package name |
| 134 | result = runCmd('oe-pkgdata-util list-pkg-files zlib-dev zlib-doc') | 135 | result = runCmd('oe-pkgdata-util list-pkg-files zlib-dev zlib-doc') |
| 135 | files = splitoutput(result.output) | 136 | files = splitoutput(result.output) |
