diff options
| author | Jose Quaresma <quaresma.jose@gmail.com> | 2023-07-06 15:01:05 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-07-21 06:27:34 -1000 |
| commit | 934cbbc48e7bafb49ab63f162a65951b088d5413 (patch) | |
| tree | 5db38769b6188454bb105da51cbffd2cb83803fb | |
| parent | 17110ad8f5bb06210cc722235c2a84d54ef14b6c (diff) | |
| download | poky-934cbbc48e7bafb49ab63f162a65951b088d5413.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: 4402b746f49611abe71719dd1d174de79bb030bb)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d414d85b44077bac57aba36707b0fc699a73e97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -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 98259ae515..49318be43a 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py | |||
| @@ -126,7 +126,11 @@ class DiffoscopeTests(OESelftestTestCase): | |||
| 126 | class ReproducibleTests(OESelftestTestCase): | 126 | class ReproducibleTests(OESelftestTestCase): |
| 127 | # Test the reproducibility of whatever is built between sstate_targets and targets | 127 | # Test the reproducibility of whatever is built between sstate_targets and targets |
| 128 | 128 | ||
| 129 | package_classes = ['deb', 'ipk', 'rpm'] | 129 | package_classes = get_bb_var("OEQA_REPRODUCIBLE_TEST_PACKAGE") |
| 130 | if package_classes: | ||
| 131 | package_classes = package_classes.split() | ||
| 132 | else: | ||
| 133 | package_classes = ['deb', 'ipk', 'rpm'] | ||
| 130 | 134 | ||
| 131 | # Maximum report size, in bytes | 135 | # Maximum report size, in bytes |
| 132 | max_report_size = 250 * 1024 * 1024 | 136 | max_report_size = 250 * 1024 * 1024 |
