Re: [go-nuts] go test looking for a C library when the package actually does not contain any test files

2017-09-13 Thread Ondřej Kupka
Hmm, that sucks for my use case, but at least I know now that it's a feature. Cheers, Ondřej On st 13. 9. 2017 19:25 Ian Lance Taylor wrote: > On Wed, Sep 13, 2017 at 9:06 AM, Ondřej Kupka wrote: > > > > I am running go test on a set of packages. Some of

Re: [go-nuts] go test looking for a C library when the package actually does not contain any test files

2017-09-13 Thread Ian Lance Taylor
On Wed, Sep 13, 2017 at 9:06 AM, Ondřej Kupka wrote: > > I am running go test on a set of packages. Some of these packages do contain > tests and some don't. > The packages that don't contain any test files import a Kafka package that > links librdkafka and uses Cgo. > When I

[go-nuts] go test looking for a C library when the package actually does not contain any test files

2017-09-13 Thread Ondřej Kupka
Hi, I am running go test on a set of packages. Some of these packages do contain tests and some don't. The packages that *don't* contain any test files import a Kafka package that links librdkafka and uses Cgo. When I run go test with this set of packages I end up getting # pkg-config --cflags