On 20 May 2016 at 16:24, Michael Hudson-Doyle <michael.hud...@canonical.com> wrote: > > Yeah, I didn't know this automatic test control file thing was > possible! That's cool. I think a go one only needs to run something > like: > > GOPATH=/usr/share/gocode go test -short $(perl > -MDebian::Debhelper::Dh_Buildsystems -e 'buildsystems_init(); my $bs = > load_buildsystem("golang"); print(join " ", $bs->get_targets(), > "\n");')
Oh, this doesn't quite work does it, because you want the influence of the other variables that might be set in rules, like DH_GOLANG_BUILDPKG & DH_GOLANG_EXCLUDES. Maybe just re-running the package build in the autopkgest environment would be best, or at least ./debian/rules build. It wouldn't even be very inefficient, because the package has to be recompiled to be tested anyway. Cheers, mwh _______________________________________________ Pkg-go-maintainers mailing list Pkg-go-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers