For build-depends-indep, only add best result

This is based on the first architecture that had this result.

Signed-off-by: Ivo De Decker <ivodd@debian.org>
ubuntu/rebased
Ivo De Decker 6 years ago
parent 3f575a1cd0
commit 1c115eee11

@ -906,7 +906,13 @@ class BuildDependsPolicy(BasePolicy):
# satisfied in the target suite, so we can stop # satisfied in the target suite, so we can stop
break break
if dep_type == DependencyType.BUILD_DEPENDS_INDEP:
arch = result_archs[bestresult][0]
excuse.addhtml("Checking %s on %s"%(dep_type.get_description(),arch))
build_deps_info['check-indep-build-depends-on-arch'] = arch
verdict = self._add_info_for_arch(arch, excuses_info, blockers, arch_results, dep_type, target_suite, source_suite, excuse, verdict)
else:
for arch in check_archs: for arch in check_archs:
verdict = self._add_info_for_arch(arch, excuses_info, blockers, arch_results, dep_type, target_suite, source_suite, excuse, verdict) verdict = self._add_info_for_arch(arch, excuses_info, blockers, arch_results, dep_type, target_suite, source_suite, excuse, verdict)

Loading…
Cancel
Save