Bug#823931: autodep8: Append to existing tests

Barry Warsaw barry at debian.org
Wed May 11 13:53:40 UTC 2016


On May 11, 2016, at 10:29 AM, Antonio Terceiro wrote:

>well if debian/tests/control already exists adt-run will not call
>autodep8 at all.
>
>what we could do is make so that if debian/tests/control.autodep8.in (or
>something similar) exists, autodep8 begins its output with the contents
>of that file, and appends whhat it would normally produce.
>
>But note that in specific case of the current Python support, if your
>manually specified tests do anything useful all against the package, no
>matter how small, that already renders the simple import test pointless.

If the simple import test runs against all available Python versions (in
practice, that will be only Python 3) then it might still be worth it, as any
additional tests may e.g. only run against 'python3' i.e. the default Python 3
version.  Import tests against all Python 3 versions might be useful during
transitions.

But I get your point.

If it's still worth doing, then I like your suggestion in the second paragraph
above.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20160511/4970aa2d/attachment-0003.sig>


More information about the autopkgtest-devel mailing list