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>
This commit is contained in:
Jose Quaresma
2023-07-06 15:01:05 +02:00
committed by Steve Sakoman
parent 17110ad8f5
commit 934cbbc48e

View File

@@ -126,7 +126,11 @@ class DiffoscopeTests(OESelftestTestCase):
class ReproducibleTests(OESelftestTestCase):
# Test the reproducibility of whatever is built between sstate_targets and targets
package_classes = ['deb', 'ipk', 'rpm']
package_classes = get_bb_var("OEQA_REPRODUCIBLE_TEST_PACKAGE")
if package_classes:
package_classes = package_classes.split()
else:
package_classes = ['deb', 'ipk', 'rpm']
# Maximum report size, in bytes
max_report_size = 250 * 1024 * 1024