Bug#763847: autopkgtest: package type detection heuristics override explicit Testsuite field

Antonio Terceiro terceiro at debian.org
Fri Oct 3 14:52:30 UTC 2014

On Fri, Oct 03, 2014 at 09:08:08AM +0300, Niko Tyni wrote:
> Package: autopkgtest
> Version: 3.5.3
> Severity: minor
> pkg-perl-tools_0.18 declares Testsuite: autopkgtest-pkg-perl
> but adt-run won't test it:
>   adt-run [08:59:09]: testing package pkg-perl-tools version 0.18
>   adt-run [08:59:09]: build not needed
>   *                    SKIP no tests in this package
> This seems to happen because the package doesn't contain a Makefile.PL
> or Build.PL so it isn't recognized as a Perl package, but it doesn't
> have a debian/tests/control either.
> IMO an explicit Testsuite setting should override the heuristics of
> automatically recognizing a Perl package.

autodep8 (waiting in NEW) already does this; we are still missing the
counterpart in autopkgtest. I'm not sure if it is worth to adapt
autopkgtest to also do that, to then when autodep8 gets in the archive
change autopkgtest again to remove all heuristics and call autodep8

> What's the use case of the heuristics anyway? It seems to me that they
> were largely obsoleted by the autopkgtest-pkg-* implementation?

They _will_ be obsolete, but only after the thousands of packages that
would be detected by them have the proper value for the Testsuite field.

Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20141003/86df4df6/attachment.sig>

More information about the autopkgtest-devel mailing list