[pkg-go] Why we install the test files in dev pkg(was: Bug#870643: golang-github-pierrec-lz4-dev: please split off test data)

Shengjing Zhu i at zhsj.me
Fri Aug 4 03:46:20 UTC 2017


Hi team,

I'm wondering why we install the *_test.go files in the *-dev binary package.
IMHO, other package won't import the test files from *-dev package.
And the CI system is to test building the src package from scratch. It
doesn't  run `go test ./...` from the -dev package.

So I think we should let the dh-golang stop installing test related
files in -dev pkg.

One doubt is that how the autopkgtest run for -dev pkg. Does it just
run again the `go test` like CI for src pkg?

Yours,
Shengjing Zhu

On Fri, Aug 4, 2017 at 2:06 AM, Aaron M. Ucko <ucko at debian.org> wrote:
> Package: golang-github-pierrec-lz4-dev
> Version: 0.0~git20170519.0.5a3d224-1
> Severity: minor
>
> The golang-github-pierrec-lz4-dev binary package now consists of 9+ MB
> of test data and a much smaller quantity of actual code.  I acknowledge
> the value of automated regression testing, but would appreciate it if
> you could please split the test data into a separate binary package.
>
> Thanks!



More information about the Pkg-go-maintainers mailing list