[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:48:17 UTC 2017


BTW, I always drop test dependencies for the -dev package.

On Fri, Aug 4, 2017 at 11:46 AM, Shengjing Zhu <i at zhsj.me> wrote:
> 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



More information about the Pkg-go-maintainers mailing list