auotpkgtest.py: we need to look at the binaries to find the arch

master
Brian Murray 6 months ago
parent 92d611c379
commit 663bd2571c

@ -705,7 +705,8 @@ class AutopkgtestPolicy(BasePolicy):
try: try:
if arch == "i386": if arch == "i386":
all_binaries_arch_all = True all_binaries_arch_all = True
for pkg_id in source_suite.sources[src]: srcinfo = source_suite.sources[src]
for pkg_id in srcinfo.binaries:
if pkg_id.architecture != "all": if pkg_id.architecture != "all":
all_binaries_arch_all = False all_binaries_arch_all = False
if all_binaries_arch_all: if all_binaries_arch_all:

Loading…
Cancel
Save