diff options
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/reproducible.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index d01a2665c2..d4800022df 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py | |||
| @@ -161,6 +161,7 @@ class ReproducibleTests(OESelftestTestCase): | |||
| 161 | SSTATE_MIRRORS = "" | 161 | SSTATE_MIRRORS = "" |
| 162 | ''') | 162 | ''') |
| 163 | 163 | ||
| 164 | self.logger.info("Building %s (sstate%s allowed)..." % (name, '' if use_sstate else ' NOT')) | ||
| 164 | self.write_config(config) | 165 | self.write_config(config) |
| 165 | d = get_bb_vars(capture_vars) | 166 | d = get_bb_vars(capture_vars) |
| 166 | bitbake(' '.join(self.images)) | 167 | bitbake(' '.join(self.images)) |
| @@ -187,6 +188,7 @@ class ReproducibleTests(OESelftestTestCase): | |||
| 187 | self.logger.info('Non-reproducible packages will be copied to %s', save_dir) | 188 | self.logger.info('Non-reproducible packages will be copied to %s', save_dir) |
| 188 | 189 | ||
| 189 | vars_A = self.do_test_build('reproducibleA', self.build_from_sstate) | 190 | vars_A = self.do_test_build('reproducibleA', self.build_from_sstate) |
| 191 | |||
| 190 | vars_B = self.do_test_build('reproducibleB', False) | 192 | vars_B = self.do_test_build('reproducibleB', False) |
| 191 | 193 | ||
| 192 | # NOTE: The temp directories from the reproducible build are purposely | 194 | # NOTE: The temp directories from the reproducible build are purposely |
| @@ -201,6 +203,7 @@ class ReproducibleTests(OESelftestTestCase): | |||
| 201 | deploy_A = vars_A['DEPLOY_DIR_' + c.upper()] | 203 | deploy_A = vars_A['DEPLOY_DIR_' + c.upper()] |
| 202 | deploy_B = vars_B['DEPLOY_DIR_' + c.upper()] | 204 | deploy_B = vars_B['DEPLOY_DIR_' + c.upper()] |
| 203 | 205 | ||
| 206 | self.logger.info('Checking %s packages for differences...' % c) | ||
| 204 | result = self.compare_packages(deploy_A, deploy_B, diffutils_sysroot) | 207 | result = self.compare_packages(deploy_A, deploy_B, diffutils_sysroot) |
| 205 | 208 | ||
| 206 | self.logger.info('Reproducibility summary for %s: %s' % (c, result)) | 209 | self.logger.info('Reproducibility summary for %s: %s' % (c, result)) |
