]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe-selftests: add rpm to reproducible build selftest
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Tue, 16 Feb 2021 18:28:35 +0000 (19:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Feb 2021 11:01:14 +0000 (11:01 +0000)
rpm packaging has shown good numbers wrt reproducible builds as well
when testing core-image-minimal locally:

 Reproducibility summary for rpm: same=4671 different=0 missing=0 total=4671

Thus enable it in the autobuilder to be more widely tested.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/reproducible.py

index 0963c2f11a94c65e8174b9401d8a9f76857975f2..9785c5ffac25c050dc0b0740b914c19b81bf5350 100644 (file)
@@ -173,7 +173,7 @@ class DiffoscopeTests(OESelftestTestCase):
             self.assertTrue(os.path.exists(os.path.join(tmpdir, 'index.html')), "HTML index not found!")
 
 class ReproducibleTests(OESelftestTestCase):
-    package_classes = ['deb', 'ipk']
+    package_classes = ['deb', 'ipk', 'rpm']
     images = ['core-image-minimal', 'core-image-sato', 'core-image-full-cmdline', 'world']
     save_results = False
     if 'OEQA_DEBUGGING_SAVED_OUTPUT' in os.environ: