]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe-selftests: add rpm to reproducible build selftest
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sat, 20 Feb 2021 17:29:34 +0000 (18:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Feb 2021 15:19:28 +0000 (15:19 +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.

(From OE-Core rev: 84d3a90557444d8cd83d780b1c3f2b278ab07af2)

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 e54230f853c5a102f53c2ed38acaa5c5f822e348..3bf8c29e515acf044460b3f18402ae35f3e6f4ac 100644 (file)
@@ -168,7 +168,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: