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?


[1]:
https://anonscm.debian.org/cgit/pkg-go/packages/prometheus-postgres-exporter.git/tree/debian/tests/build-test
-- 
Martín Ferrari (Tincho)

_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to