From 986c97c0f09a920a7f9281e65a427cce3c82dd03 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 24 Sep 2025 09:35:32 +0200 Subject: [PATCH] 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. --- britney2/policies/autopkgtest.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index e20a951..809efe8 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -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