mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-12 23:17:03 +00:00
autpkgtest: ignore deps already satisfied in testing
This commit is contained in:
parent
237c5d7357
commit
97c3b32f1f
@ -532,6 +532,10 @@ class AutopkgtestPolicy(BasePolicy):
|
|||||||
depends = pkg_universe.dependencies_of(binary)
|
depends = pkg_universe.dependencies_of(binary)
|
||||||
# depends is a frozenset{frozenset{BinaryPackageId, ..}}
|
# depends is a frozenset{frozenset{BinaryPackageId, ..}}
|
||||||
for deps_of_bin in depends:
|
for deps_of_bin in depends:
|
||||||
|
if target_suite.any_of_these_are_in_the_suite(deps_of_bin):
|
||||||
|
# if any of the alternative dependencies is already
|
||||||
|
# satisfied in the target suite, we can just ignore it
|
||||||
|
continue
|
||||||
# We'll figure out which version later
|
# We'll figure out which version later
|
||||||
bin_new.update(added_pkgs_compared_to_target_suite(deps_of_bin, target_suite))
|
bin_new.update(added_pkgs_compared_to_target_suite(deps_of_bin, target_suite))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user