Don't start the tests before arch:all has been build (if applicable)

ubuntu/rebased
Paul Gevers 7 years ago
parent 022d6ed564
commit a4d0c4a854
No known key found for this signature in database
GPG Key ID: 9C5C99EB05BD750A

@ -202,6 +202,10 @@ class AutopkgtestPolicy(BasePolicy):
self.logger.info('%s hasn''t been built anywhere, skipping autopkgtest policy', excuse.name)
verdict = PolicyVerdict.REJECTED_TEMPORARILY
if 'all' in excuse.missing_builds:
self.logger.info('%s hasn''t been built for arch:all, skipping autopkgtest policy', source_name)
verdict = PolicyVerdict.REJECTED_TEMPORARILY
if verdict == PolicyVerdict.PASS:
self.logger.info('Checking autopkgtests for %s', source_name)
trigger = source_name + '/' + source_data_srcdist.version

Loading…
Cancel
Save