On 04/08/17 04:46, Shengjing Zhu wrote:

> 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.

I am not sure if this was ever discussed, but I kind of like the tests
being there in case I want to run them. It is the same for scritping
languages like perl and python, tests are installed.

> And the CI system is to test building the src package from scratch. It
> doesn't  run `go test ./...` from the -dev package.

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

CI.debian.net uses autopkgtest, which in turn uses these installed
_test.go files to run the tests.


-- 
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