mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-08 00:51:36 +00:00
AutoPkgTest.tests_for_source(): Don't trip over NBS binaries
This commit is contained in:
parent
e0c4ec15b6
commit
49500104ae
@ -96,7 +96,12 @@ class AutoPackageTest(object):
|
|||||||
# an autopkgtest
|
# an autopkgtest
|
||||||
for binary in srcinfo[BINARIES]:
|
for binary in srcinfo[BINARIES]:
|
||||||
binary = binary.split('/')[0] # chop off arch
|
binary = binary.split('/')[0] # chop off arch
|
||||||
for rdep in binaries_info[binary][RDEPENDS]:
|
try:
|
||||||
|
rdeps = binaries_info[binary][RDEPENDS]
|
||||||
|
except KeyError:
|
||||||
|
self.log_verbose('Ignoring nonexistant binary %s (FTBFS/NBS)?' % binary)
|
||||||
|
continue
|
||||||
|
for rdep in rdeps:
|
||||||
rdep_src = binaries_info[rdep][SOURCE]
|
rdep_src = binaries_info[rdep][SOURCE]
|
||||||
if sources_info[rdep_src][AUTOPKGTEST]:
|
if sources_info[rdep_src][AUTOPKGTEST]:
|
||||||
# we don't care about the version of rdep
|
# we don't care about the version of rdep
|
||||||
|
Loading…
x
Reference in New Issue
Block a user