[pkg-go] RFC: autopkgtest

Martín Ferrari tincho at tincho.org
Tue May 23 10:26:49 UTC 2017

Hey all!

As I mentioned on IRC, I have been working on getting autopkgtest
coverage for all of our packages.

I started by writing an script[1] that re-runs the same tests we use
during package build automatically. If all packages gets this testing in
ci.debian.net, we can automatically detect any regressions due to
changes in dependencies, which is IMHO one of our biggest problems nowadays.

Later we can add more specialised tests, or re-enable tests that can't
run at buildtime because they require networking or root access.

To make this available to all packages, the first thing to do is to add
golang support to autodep8, which I am preparing.

The second thing I need to do is to add the test running scripts to some
package we control. It could be an ad-hoc package like
pkg-perl-autopkgtest, or it could be integrated into something we
already have, like dh-golang.

I am currently leaning towards adding this same script to dh-golang,
maybe adding detection for a pkgautotest target in debian/rules (which
would be run automatically too), and getting a whitelist in
ci.debian.net to start getting test reports for all our packages.

Ideas, comments?

Martín Ferrari (Tincho)

More information about the Pkg-go-maintainers mailing list