1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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>
This commit is contained in:
Jose Quaresma
2023-06-15 11:00:26 +01:00
committed by Richard Purdie
parent 5c6419bec6
commit 88abdec715
+5 -1
View File
@@ -128,7 +128,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