Hi Daniel,

Thanks for your report.

On 07-05-2019 22:39, Daniel Kahn Gillmor wrote:
> It would be nice if debhelper noticed that when autodep8 was in the
> build-dependencies of a package, it autogenerated the test somehow.
> That way a developer could just declare the build-dependency and not
> worry about needing to re-run "autodep8 > debian/tests/control" to keep
> things updated.

This is not the recommended way of using autodep8, albeit it does fix an
issue that is worrying me a bit [1]. You are supposed to add a
"Testsuite: autopkgtest-pkg-<flavor>" to the source stanza of your
package and never look back. See $(man autodep8).

> my debhelper skills and understanding of autopkgtest are not deep enough
> to know how to do that exactly, so i'm opening this feature request.

But I'll leave this bug open to think about it.

Paul

[1] currently the autopkgtest framework uses the version of autodep8
from the host, which is typically up-to-date. However the test may have
only been working with an older version of autodep8. E.g. package from
stable/stretch that pass with autodep8 from stable/stretch may fail with
autodep8 from buster.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to