On 09/08/17 01:52, Vincent Bernat wrote:
> When tests are trying to use data available in the root package, those
> data are not available because the copy done in the built GOPATH do
> not contain them. Example:
>
> https://github.com/osrg/gobgp/blob/master/config/bgp_configs_test.go#L103
>
> ~/gobgp-1.22/obj-x86_64-linux-gnu/src/github.com/osrg/gobgp $ find -type f |
> grep -v go$
> ./tools/grpc/cpp/gobgp_api_client.cc
> ./api/gobgp.proto

Advertising

You are supposed to tell dh_golang about any extra files you need to
include, by exporting a DH_GOLANG_INSTALL_EXTRA variable that is a
space-separated list of regexes to match against pathnames.
--
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