diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2023-06-15 11:00:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-17 11:50:57 +0100 |
commit | 88abdec715ed0c1f613c9b5132cd45db741d5c65 (patch) | |
tree | 1faf48c7b9afa3dc5ae057458029cade5a3537c5 /meta/lib/oeqa/selftest/cases/reproducible.py | |
parent | 5c6419bec687a6bbdf48c019ae1b75cfdbdb7b3c (diff) | |
download | poky-88abdec715ed0c1f613c9b5132cd45db741d5c65.tar.gz |
selftest/reproducible: Allow chose the package manager
This is a follow-up of 76e5fcb2 that also allow users to chose
the package manager using OEQA_REPRODUCIBLE_TEST_PACKAGE
(From OE-Core rev: 3d414d85b44077bac57aba36707b0fc699a73e97)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/reproducible.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/reproducible.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index e9447a2a92..0f7e6eb376 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py | |||
@@ -128,7 +128,11 @@ class DiffoscopeTests(OESelftestTestCase): | |||
128 | class ReproducibleTests(OESelftestTestCase): | 128 | class ReproducibleTests(OESelftestTestCase): |
129 | # Test the reproducibility of whatever is built between sstate_targets and targets | 129 | # Test the reproducibility of whatever is built between sstate_targets and targets |
130 | 130 | ||
131 | package_classes = ['deb', 'ipk', 'rpm'] | 131 | package_classes = get_bb_var("OEQA_REPRODUCIBLE_TEST_PACKAGE") |
132 | if package_classes: | ||
133 | package_classes = package_classes.split() | ||
134 | else: | ||
135 | package_classes = ['deb', 'ipk', 'rpm'] | ||
132 | 136 | ||
133 | # Maximum report size, in bytes | 137 | # Maximum report size, in bytes |
134 | max_report_size = 250 * 1024 * 1024 | 138 | max_report_size = 250 * 1024 * 1024 |