mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-14 20:51:11 +00:00
Don't reward bounty while tests are running or are always-failed
This commit is contained in:
parent
4d9c1cdbea
commit
9790dbf7c2
@ -227,8 +227,9 @@ class AutopkgtestPolicy(BasePolicy):
|
||||
testver = None
|
||||
|
||||
# Keep track if this source package has tests of its own for the
|
||||
# bounty system
|
||||
if testsrc == source_name:
|
||||
# bounty system, but only if at least one arch has something else than
|
||||
# running or alwaysfail
|
||||
if testsrc == source_name and r - {'RUNNING', 'RUNNING-ALWAYSFAIL', 'ALWAYSFAIL'}:
|
||||
src_has_own_test = True
|
||||
|
||||
html_archmsg = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user