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,12 +906,18 @@ 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:
for arch in check_archs: 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) verdict = self._add_info_for_arch(arch, excuses_info, blockers, arch_results, dep_type, target_suite, source_suite, excuse, verdict)
if unsat_bd: else:
build_deps_info['unsatisfiable-arch-build-depends'] = unsat_bd 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)
if unsat_bd:
build_deps_info['unsatisfiable-arch-build-depends'] = unsat_bd
return verdict return verdict

Loading…
Cancel
Save