mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-31 12:21:30 +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()
|
reported_pkgs = set()
|
||||||
|
|
||||||
|
tests = []
|
||||||
|
|
||||||
srcinfo = sources_info[src]
|
srcinfo = sources_info[src]
|
||||||
# we want to test the package itself, if it still has a test in
|
# we want to test the package itself, if it still has a test in
|
||||||
# unstable
|
# unstable
|
||||||
if srcinfo[AUTOPKGTEST]:
|
if srcinfo[AUTOPKGTEST]:
|
||||||
reported_pkgs.add(src)
|
reported_pkgs.add(src)
|
||||||
yield (src, ver)
|
tests.append((src, ver))
|
||||||
|
|
||||||
# plus all direct reverse dependencies of its binaries which have
|
# plus all direct reverse dependencies of its binaries which have
|
||||||
# an autopkgtest
|
# an autopkgtest
|
||||||
@ -162,9 +164,12 @@ class AutoPackageTest(object):
|
|||||||
if sources_info[rdep_src][AUTOPKGTEST]:
|
if sources_info[rdep_src][AUTOPKGTEST]:
|
||||||
if rdep_src not in reported_pkgs:
|
if rdep_src not in reported_pkgs:
|
||||||
# we don't care about the version of rdep
|
# 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)
|
reported_pkgs.add(rdep_src)
|
||||||
|
|
||||||
|
tests.sort(key=lambda (s, v): s)
|
||||||
|
return tests
|
||||||
|
|
||||||
#
|
#
|
||||||
# AMQP/cloud interface helpers
|
# AMQP/cloud interface helpers
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user