diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-27 11:42:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-27 16:48:10 +0000 |
commit | b1fe4aab8b8b8a98ab8ba4788a34a90446d6222b (patch) | |
tree | 2880610413e2e726750fab7c8c6ec9a77b731e10 /meta/lib/oeqa/selftest/cases | |
parent | f45f769edbaffe41e9c23f91e629bff15542a4e0 (diff) | |
download | poky-b1fe4aab8b8b8a98ab8ba4788a34a90446d6222b.tar.gz |
distrodata/maintainers: Add PARSE_ALL_RECIPES flag to fix test issues
Currently the test depends on which DISTRO_FEATURES and targets are selected.
Similar to SOURCE_MIRROR_FETCH, add PARSE_ALL_RECIPES to allow the test to see
a much wider range of them. This avoids issues added by the new ucontext musl
specific recipe and allows the current whitelist to be cleared out a bit (more
cleanup can follow).
(From OE-Core rev: c139e058bb2df48c79784cf3fd701e51bbc68427)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/distrodata.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/cases/distrodata.py b/meta/lib/oeqa/selftest/cases/distrodata.py index 5f7f488349..e1cfc3b621 100644 --- a/meta/lib/oeqa/selftest/cases/distrodata.py +++ b/meta/lib/oeqa/selftest/cases/distrodata.py | |||
@@ -56,15 +56,14 @@ but their recipes claim otherwise by setting UPSTREAM_VERSION_UNKNOWN. Please re | |||
56 | return False | 56 | return False |
57 | 57 | ||
58 | def is_maintainer_exception(entry): | 58 | def is_maintainer_exception(entry): |
59 | exceptions = ["systemd", "musl", "libpam", "newlib", "linux-yocto", "opensbi", "linux-dummy", | 59 | exceptions = ["musl", "newlib", "linux-yocto", "linux-dummy", "mesa-gl", "libgfortran", |
60 | "mesa-gl", "libgfortran", "volatile-binds", "libgloss", "bsd-headers", | 60 | "cve-update-db-native"] |
61 | "cve-update-db-native", "libssp-nonshared", "argp-standalone", "fts"] | ||
62 | for i in exceptions: | 61 | for i in exceptions: |
63 | if i in entry: | 62 | if i in entry: |
64 | return True | 63 | return True |
65 | return False | 64 | return False |
66 | 65 | ||
67 | feature = 'require conf/distro/include/maintainers.inc\nLICENSE_FLAGS_WHITELIST += " commercial"\n' | 66 | feature = 'require conf/distro/include/maintainers.inc\nLICENSE_FLAGS_WHITELIST += " commercial"\nPARSE_ALL_RECIPES = "1"\n' |
68 | self.write_config(feature) | 67 | self.write_config(feature) |
69 | 68 | ||
70 | with bb.tinfoil.Tinfoil() as tinfoil: | 69 | with bb.tinfoil.Tinfoil() as tinfoil: |