mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-15 12:31:31 +00:00
Don't start the tests before arch:all has been build (if applicable)
This commit is contained in:
parent
022d6ed564
commit
a4d0c4a854
@ -202,6 +202,10 @@ class AutopkgtestPolicy(BasePolicy):
|
|||||||
self.logger.info('%s hasn''t been built anywhere, skipping autopkgtest policy', excuse.name)
|
self.logger.info('%s hasn''t been built anywhere, skipping autopkgtest policy', excuse.name)
|
||||||
verdict = PolicyVerdict.REJECTED_TEMPORARILY
|
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:
|
if verdict == PolicyVerdict.PASS:
|
||||||
self.logger.info('Checking autopkgtests for %s', source_name)
|
self.logger.info('Checking autopkgtests for %s', source_name)
|
||||||
trigger = source_name + '/' + source_data_srcdist.version
|
trigger = source_name + '/' + source_data_srcdist.version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user