mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-07-06 05:51:29 +00:00
Clarify status of excluded reverse dependencies
Commit 463 introduced waiting on reverse dependencies which are not built or⎵ installable yet, but set their status as "RUNNING". This is confusing as there is no actual test in progress yet. Instead, set their status to a new UNINST value, displaying as⎵ "Unbuilt/uninstallable"
This commit is contained in:
parent
191025cacd
commit
65c6e4df2a
@ -38,6 +38,7 @@ ADT_EXCUSES_LABELS = {
|
||||
"ALWAYSFAIL": '<span style="background:#e5c545">Always failed</span>',
|
||||
"REGRESSION": '<span style="background:#ff6666">Regression</span>',
|
||||
"RUNNING": '<span style="background:#99ddff">Test in progress</span>',
|
||||
"UNINST": '<span style="background:#99ddff">Unbuilt/uninstallable</span>',
|
||||
}
|
||||
|
||||
|
||||
@ -495,7 +496,7 @@ class AutoPackageTest(object):
|
||||
def results(self, trigsrc, trigver):
|
||||
'''Return test results for triggering package
|
||||
|
||||
Return (passed, src, ver, arch -> ALWAYSFAIL|PASS|FAIL|RUNNING)
|
||||
Return (passed, src, ver, arch -> ALWAYSFAIL|PASS|FAIL|RUNNING|UNINST)
|
||||
iterator for all package tests that got triggered by trigsrc/trigver.
|
||||
'''
|
||||
for testsrc, testver in self.tests_for_source(trigsrc, trigver):
|
||||
@ -526,7 +527,7 @@ class AutoPackageTest(object):
|
||||
except KeyError:
|
||||
# neither done nor pending; excluded?
|
||||
if testsrc in self.excludes:
|
||||
arch_status[arch] = 'RUNNING'
|
||||
arch_status[arch] = 'UNINST'
|
||||
passed = False
|
||||
continue
|
||||
|
||||
|
@ -387,7 +387,7 @@ lightgreen 1 i386 green 2
|
||||
r'\blightgreen\b.*>1</a> to .*>2<',
|
||||
r'autopkgtest for green 2: .*amd64.*Pass.*i386.*Pass',
|
||||
r'autopkgtest for darkgreen 1: .*amd64.*Pass.*i386.*Pass',
|
||||
r'autopkgtest for lightgreen 2: .*amd64.*in progress.*i386.*in progress',
|
||||
r'autopkgtest for lightgreen 2: .*amd64.*Unbuilt/uninstallable.*i386.*Unbuilt/uninstallable',
|
||||
r'lightgreen has no up-to-date binaries on any arch'],
|
||||
['Valid candidate'])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user