Hi! On Wed, 2023-10-04 at 20:17:58 -0400, James McCoy wrote: > Package: libdpkg-perl > Version: 1.18.8 > Severity: normal > Control: affects -1 src:zsh src:poppler src:libjodycode src:doxygen > src:jemalloc src:jdupes src:libsdl2 src:iproute2
> Any test stanza in a debian/tests/control file which contains a > foo:native Depends will not have its dependencies translated into > Testsuite-Triggers. > > This is due to an explicit check in Dpkg::Deps::Simple->parse_string() > which only allows native qualified dependencies for build dependencies. > > As an example, running “dpkg-source -b .” for jdupes shows […] > Three warnings, one for each of the tests. Since it does have a test > without a native qualified dependency, Testsuite-Triggers is generated. > > % grep Depends debian/tests/control > Depends: @, tree:native > Depends: @, tree:native > Depends: @, tree:native > Depends: @, forensics-samples-files > % grep Testsuite ../jdupes_1.27.3-2.dsc > Testsuite: autopkgtest > Testsuite-Triggers: forensics-samples-files > > As far as I can tell, this has been a problem since dpkg-source gained > support for generating Testsuite-Triggers. Right, nice catch! Given that these fields are based on what might appear on build dependencies, I think it does make sense to consider them an overlay on top of those. So I'll make them allow anything that is allowed for build dependencies. Thanks, Guillem