autopkgtest: Trigger coreutils tests for rust-coreutils

Pretend that rust-coreutils builds a coreutils binary like we
pretend linux-meta* build dkms in the paragraph above.
This commit is contained in:
Julian Andres Klode 2025-09-24 09:35:32 +02:00
parent 6710286762
commit 986c97c0f0

View File

@ -788,6 +788,15 @@ class AutopkgtestPolicy(BasePolicy):
except KeyError:
pass
# Nothing actually depends on rust-coreutils. so pretend we
# build the actual coreutils binary which some stuff depends
# on, so new versions get testing.
if src == "rust-coreutils":
try:
extra_bins.append(binaries_info['coreutils'].pkg_id)
except KeyError:
pass
pkg_universe = self.britney.pkg_universe
# plus all direct reverse dependencies and test triggers of its
# binaries which have an autopkgtest