diff options
Diffstat (limited to 'meta/lib/oeqa')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/reproducible.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index 04dc46f38a..f6433c9a02 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py | |||
| @@ -185,6 +185,8 @@ class ReproducibleTests(OESelftestTestCase): | |||
| 185 | # NOTE: The temp directories from the reproducible build are purposely | 185 | # NOTE: The temp directories from the reproducible build are purposely |
| 186 | # kept after the build so it can be diffed for debugging. | 186 | # kept after the build so it can be diffed for debugging. |
| 187 | 187 | ||
| 188 | fails = [] | ||
| 189 | |||
| 188 | for c in self.package_classes: | 190 | for c in self.package_classes: |
| 189 | with self.subTest(package_class=c): | 191 | with self.subTest(package_class=c): |
| 190 | package_class = 'package_' + c | 192 | package_class = 'package_' + c |
| @@ -208,8 +210,11 @@ class ReproducibleTests(OESelftestTestCase): | |||
| 208 | self.copy_file(d.test, '/'.join([save_dir, d.test])) | 210 | self.copy_file(d.test, '/'.join([save_dir, d.test])) |
| 209 | 211 | ||
| 210 | if result.missing or result.different: | 212 | if result.missing or result.different: |
| 211 | self.fail("The following %s packages are missing or different: %s" % | 213 | fails.append("The following %s packages are missing or different: %s" % |
| 212 | (c, ' '.join(r.test for r in (result.missing + result.different)))) | 214 | (c, '\n'.join(r.test for r in (result.missing + result.different)))) |
| 215 | |||
| 216 | if fails: | ||
| 217 | self.fail('\n'.join(fails)) | ||
| 213 | 218 | ||
| 214 | # Clean up empty directories | 219 | # Clean up empty directories |
| 215 | if self.save_results: | 220 | if self.save_results: |
