mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-23 08:21:30 +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
|
testver = None
|
||||||
|
|
||||||
# Keep track if this source package has tests of its own for the
|
# Keep track if this source package has tests of its own for the
|
||||||
# bounty system
|
# bounty system, but only if at least one arch has something else than
|
||||||
if testsrc == source_name:
|
# running or alwaysfail
|
||||||
|
if testsrc == source_name and r - {'RUNNING', 'RUNNING-ALWAYSFAIL', 'ALWAYSFAIL'}:
|
||||||
src_has_own_test = True
|
src_has_own_test = True
|
||||||
|
|
||||||
html_archmsg = []
|
html_archmsg = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user