Comment 99 for bug 1267393

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 1267393] Re: [MIR] juju-core, juju-mongodb, gccgo, golang

Michael Terry [2015-10-13 17:33 -0000]:
> That seems more packaging-friendly than requiring a bunch of one-line
> dep8 tests to trigger a rebuild test. Especially if we have to add a
> delta to get it.

autodep8 can "synthesize" a debian/tests/control for a group of
related packages. It already does that with perl, ruby, nodejs, and
dkms packages. I. e. the idea is you write a generic test, put it into
some golang-autopkgtest package (or another common one, maybe
dh-golang), and add some detection logic ("what kind of package is
this and can I create a test for it?") and creation of a
"Test-Commands:" to autodep8.

Besides, autopkgtests are totally suitable (and appreciated) for
forwarding to Debian too.