hi Martin-Éric, 

On Mon Sep 7, 2026 at 9:04 AM CEST, Martin-Éric Racine wrote:
> Package: adequate
> Version: 0.17.5+b5
> Severity: normal
> X-Debbugs-Cc: [email protected]
>
> The README contains the following:
>
> Example debian/tests/adequate:
> ---8<---
> #!/bin/sh
> adequate --fail $(dh_listpackages) >&2
> --->8---
> Example debian/tests/control snippet:
> ---8<---
> Tests: adequate
> Depends: @, adequate, debhelper
> Restrictions: superficial
> --->8---
>
> I'd like to hear the rationale for the Depends on debhelper. If adequate 
> itself needs it, it should be in adequate's Depends/Recommends. If not, why 
> does it appear in the above example?

that's because debian/tests/adequate invokes dh_listpackages to figure out the
set of binary packages built by the source package being tested. one could
instead get the set with grep and friends, to eliminate the dependency on
debhelper, but that'd be more hacky/fragile than dh_listpackages.

I'm leaving the bug report open for a few days in case I've missed something; if
you agree, please feel free to close it.

thanks,
serafi

Attachment: signature.asc
Description: PGP signature

Reply via email to