Make adding a failing test a regression

When there is no test in testing, and a failing test in unstable, don't
allow the package to migrate. Doing so would make it instantly RC-buggy.

Signed-off-by: Ivo De Decker <ivodd@debian.org>
ubuntu/rebased
Ivo De Decker 5 years ago
parent 0d5ea5eb8c
commit 628b93b791

@ -1080,7 +1080,7 @@ class AutopkgtestPolicy(BasePolicy):
self.request_test_if_not_queued(src, arch, REF_TRIG) self.request_test_if_not_queued(src, arch, REF_TRIG)
result = 'RUNNING-REFERENCE' result = 'RUNNING-REFERENCE'
else: else:
result = 'ALWAYSFAIL' result = 'REGRESSION'
else: else:
result = 'REGRESSION' result = 'REGRESSION'
else: else:

Loading…
Cancel
Save