[pkg-go] Bug#871551: Bug#871551: Do not copy data to GOPATH before	running tests
    Martín Ferrari 
    tincho at tincho.org
       
    Wed Aug  9 23:58:46 UTC 2017
    
    
  
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
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)
    
    
More information about the Pkg-go-maintainers
mailing list