mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-27 11:01:12 +00:00
autopkgtests accidentally in dry-run mode everywhere, fix logic
This commit is contained in:
parent
e5247de7b8
commit
008fc3c065
@ -523,7 +523,7 @@ class Britney(object):
|
|||||||
self._policy_engine.add_policy(PiupartsPolicy(self.options, self.suite_info))
|
self._policy_engine.add_policy(PiupartsPolicy(self.options, self.suite_info))
|
||||||
add_autopkgtest_policy = getattr(self.options, 'adt_enable', 'no')
|
add_autopkgtest_policy = getattr(self.options, 'adt_enable', 'no')
|
||||||
if add_autopkgtest_policy in ('yes', 'dry-run'):
|
if add_autopkgtest_policy in ('yes', 'dry-run'):
|
||||||
self._policy_engine.add_policy(AutopkgtestPolicy(self.options, self.suite_info, dry_run=add_autopkgtest_policy))
|
self._policy_engine.add_policy(AutopkgtestPolicy(self.options, self.suite_info, dry_run=add_autopkgtest_policy == 'dry-run'))
|
||||||
self._policy_engine.add_policy(AgePolicy(self.options, self.suite_info, MINDAYS))
|
self._policy_engine.add_policy(AgePolicy(self.options, self.suite_info, MINDAYS))
|
||||||
# XXX this policy results in asymmetric enforcement of
|
# XXX this policy results in asymmetric enforcement of
|
||||||
# build-dependencies in the release pocket (nothing blocks
|
# build-dependencies in the release pocket (nothing blocks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user