mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 15:37:02 +00:00
Alphabetically sort cloud autopkgtest results
This commit is contained in:
parent
69bf766a7a
commit
89be9112d3
@ -141,12 +141,14 @@ class AutoPackageTest(object):
|
||||
|
||||
reported_pkgs = set()
|
||||
|
||||
tests = []
|
||||
|
||||
srcinfo = sources_info[src]
|
||||
# we want to test the package itself, if it still has a test in
|
||||
# unstable
|
||||
if srcinfo[AUTOPKGTEST]:
|
||||
reported_pkgs.add(src)
|
||||
yield (src, ver)
|
||||
tests.append((src, ver))
|
||||
|
||||
# plus all direct reverse dependencies of its binaries which have
|
||||
# an autopkgtest
|
||||
@ -162,9 +164,12 @@ class AutoPackageTest(object):
|
||||
if sources_info[rdep_src][AUTOPKGTEST]:
|
||||
if rdep_src not in reported_pkgs:
|
||||
# we don't care about the version of rdep
|
||||
yield (rdep_src, sources_info[rdep_src][VERSION])
|
||||
tests.append((rdep_src, sources_info[rdep_src][VERSION]))
|
||||
reported_pkgs.add(rdep_src)
|
||||
|
||||
tests.sort(key=lambda (s, v): s)
|
||||
return tests
|
||||
|
||||
#
|
||||
# AMQP/cloud interface helpers
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user