mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-12 02:51:30 +00:00
Add an option to configure whether all ADT test results should be displayed or not.
This commit is contained in:
parent
41b606c2ca
commit
090ccdff9e
@ -116,6 +116,9 @@ ADT_PRIVATE_URL = https://autopkgtest.ubuntu.com/private-results/
|
|||||||
# Base URL for autopkgtest site, used for links in the excuses
|
# Base URL for autopkgtest site, used for links in the excuses
|
||||||
ADT_CI_URL = https://autopkgtest.ubuntu.com/
|
ADT_CI_URL = https://autopkgtest.ubuntu.com/
|
||||||
ADT_HUGE = 20
|
ADT_HUGE = 20
|
||||||
|
# Change to 'yes' for excuses to include all ADT results, even those requiring
|
||||||
|
# no action (like passing or always-failed)
|
||||||
|
ADT_SHOW_IRRELEVANT = no
|
||||||
|
|
||||||
# Autopkgtest results can be used to influence the aging
|
# Autopkgtest results can be used to influence the aging
|
||||||
ADT_REGRESSION_PENALTY =
|
ADT_REGRESSION_PENALTY =
|
||||||
|
@ -140,6 +140,9 @@ ADT_CI_URL = https://example.com/
|
|||||||
# Enable the huge queue for packages that trigger vast amounts of tests to not
|
# Enable the huge queue for packages that trigger vast amounts of tests to not
|
||||||
# starve the regular queue
|
# starve the regular queue
|
||||||
#ADT_HUGE = 20
|
#ADT_HUGE = 20
|
||||||
|
# Change to 'yes' for excuses to include all ADT results, even those requiring
|
||||||
|
# no action (like passing or always-failed)
|
||||||
|
ADT_SHOW_IRRELEVANT = no
|
||||||
|
|
||||||
# Autopkgtest results can be used to influence the aging, leave
|
# Autopkgtest results can be used to influence the aging, leave
|
||||||
# ADT_REGRESSION_PENALTY empty to have regressions block migration
|
# ADT_REGRESSION_PENALTY empty to have regressions block migration
|
||||||
|
@ -519,8 +519,10 @@ class AutopkgtestPolicy(BasePolicy):
|
|||||||
html_archmsg.append(message)
|
html_archmsg.append(message)
|
||||||
|
|
||||||
# render HTML line for testsrc entry, but only when action is
|
# render HTML line for testsrc entry, but only when action is
|
||||||
# or may be required
|
# or may be required or when britney is configured to print
|
||||||
if r - {'PASS', 'NEUTRAL', 'RUNNING-ALWAYSFAIL', 'ALWAYSFAIL', 'IGNORE-FAIL'}:
|
# everything
|
||||||
|
if (self.options.adt_show_irrelevant or
|
||||||
|
r - {'PASS', 'NEUTRAL', 'RUNNING-ALWAYSFAIL', 'ALWAYSFAIL', 'IGNORE-FAIL'}):
|
||||||
results_info.append("autopkgtest for %s: %s" % (testname, ', '.join(html_archmsg)))
|
results_info.append("autopkgtest for %s: %s" % (testname, ', '.join(html_archmsg)))
|
||||||
|
|
||||||
if verdict != PolicyVerdict.PASS:
|
if verdict != PolicyVerdict.PASS:
|
||||||
|
@ -404,6 +404,7 @@ ADT_PRIVATE_SHARED =
|
|||||||
ADT_PRIVATE_URL =
|
ADT_PRIVATE_URL =
|
||||||
ADT_CI_URL = https://autopkgtest.ubuntu.com/
|
ADT_CI_URL = https://autopkgtest.ubuntu.com/
|
||||||
ADT_HUGE = 20
|
ADT_HUGE = 20
|
||||||
|
ADT_SHOW_IRRELEVANT = no
|
||||||
|
|
||||||
ADT_SUCCESS_BOUNTY =
|
ADT_SUCCESS_BOUNTY =
|
||||||
ADT_REGRESSION_PENALTY =
|
ADT_REGRESSION_PENALTY =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user