From 008fc3c065d69be17f96f4ea0011d4b8a424a06d Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 14 Mar 2023 07:53:37 -0700 Subject: [PATCH] autopkgtests accidentally in dry-run mode everywhere, fix logic --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index 0f45ff2..9b11347 100755 --- a/britney.py +++ b/britney.py @@ -523,7 +523,7 @@ class Britney(object): self._policy_engine.add_policy(PiupartsPolicy(self.options, self.suite_info)) add_autopkgtest_policy = getattr(self.options, 'adt_enable', 'no') 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)) # XXX this policy results in asymmetric enforcement of # build-dependencies in the release pocket (nothing blocks