mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-04 23:01:11 +00:00
Don't show excuses for packages that are PASS, NEUTRAL, RUNNING-ALWAYSFAIL or ALWAYSFAIL
This commit is contained in:
parent
0da1e4d589
commit
bfa5c9f191
@ -327,8 +327,10 @@ class AutopkgtestPolicy(BasePolicy):
|
||||
message += ' <a href="%s">[artifacts]</a>' % artifact_url
|
||||
html_archmsg.append(message)
|
||||
|
||||
# render HTML line for testsrc entry
|
||||
excuse.addhtml("autopkgtest for %s: %s" % (testname, ', '.join(html_archmsg)))
|
||||
# render HTML line for testsrc entry, but only when action is
|
||||
# or may be required
|
||||
if r - {'PASS', 'NEUTRAL', 'RUNNING-ALWAYSFAIL', 'ALWAYSFAIL'}:
|
||||
excuse.addhtml("autopkgtest for %s: %s" % (testname, ', '.join(html_archmsg)))
|
||||
|
||||
if verdict != PolicyVerdict.PASS:
|
||||
# check for force-skiptest hint
|
||||
|
Loading…
x
Reference in New Issue
Block a user