diff options
| -rw-r--r-- | meta/classes/insane.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index dc891d5490..a11085313b 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
| @@ -980,12 +980,12 @@ python do_package_qa () { | |||
| 980 | 980 | ||
| 981 | # Scan the packages... | 981 | # Scan the packages... |
| 982 | pkgdest = d.getVar('PKGDEST', True) | 982 | pkgdest = d.getVar('PKGDEST', True) |
| 983 | packages = d.getVar('PACKAGES', True) | 983 | packages = set((d.getVar('PACKAGES', True) or '').split()) |
| 984 | 984 | ||
| 985 | cpath = oe.cachedpath.CachedPath() | 985 | cpath = oe.cachedpath.CachedPath() |
| 986 | global pkgfiles | 986 | global pkgfiles |
| 987 | pkgfiles = {} | 987 | pkgfiles = {} |
| 988 | for pkg in (packages or "").split(): | 988 | for pkg in packages: |
| 989 | pkgfiles[pkg] = [] | 989 | pkgfiles[pkg] = [] |
| 990 | for walkroot, dirs, files in cpath.walk(pkgdest + "/" + pkg): | 990 | for walkroot, dirs, files in cpath.walk(pkgdest + "/" + pkg): |
| 991 | for file in files: | 991 | for file in files: |
| @@ -1009,7 +1009,7 @@ python do_package_qa () { | |||
| 1009 | walk_sane = True | 1009 | walk_sane = True |
| 1010 | rdepends_sane = True | 1010 | rdepends_sane = True |
| 1011 | deps_sane = True | 1011 | deps_sane = True |
| 1012 | for package in packages.split(): | 1012 | for package in packages: |
| 1013 | skip = (d.getVar('INSANE_SKIP_' + package, True) or "").split() | 1013 | skip = (d.getVar('INSANE_SKIP_' + package, True) or "").split() |
| 1014 | if skip: | 1014 | if skip: |
| 1015 | bb.note("Package %s skipping QA tests: %s" % (package, str(skip))) | 1015 | bb.note("Package %s skipping QA tests: %s" % (package, str(skip))) |
