mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
oeqa/selftest/reproducible: Split different packages from missing packages output
When we provide sstate_targets recipes they are reported as missing which is not quite correct because they are proveided to cut build/debugging time. (From OE-Core rev: fd70a564d6946fa460638dd04ce2daecf4566cf3) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f5f465ff57
commit
2ba13d9447
@@ -292,9 +292,13 @@ class ReproducibleTests(OESelftestTestCase):
|
||||
self.copy_file(d.reference, '/'.join([save_dir, 'packages-excluded', strip_topdir(d.reference)]))
|
||||
self.copy_file(d.test, '/'.join([save_dir, 'packages-excluded', strip_topdir(d.test)]))
|
||||
|
||||
if result.missing or result.different:
|
||||
fails.append("The following %s packages are missing or different and not in exclusion list: %s" %
|
||||
(c, '\n'.join(r.test for r in (result.missing + result.different))))
|
||||
if result.different:
|
||||
fails.append("The following %s packages are different and not in exclusion list:\n%s" %
|
||||
(c, '\n'.join(r.test for r in (result.different))))
|
||||
|
||||
if result.missing and len(self.sstate_targets) == 0:
|
||||
fails.append("The following %s packages are missing and not in exclusion list:\n%s" %
|
||||
(c, '\n'.join(r.test for r in (result.missing))))
|
||||
|
||||
# Clean up empty directories
|
||||
if self.save_results:
|
||||
|
||||
Reference in New Issue
Block a user