bunch
bunch copied to clipboard
self link breaks code coverage
The self link (e.g. .vendor/src/github/com/org/proj -> ../../../../../) breaks code coverage profiles. At least when using ginkgo (but I don't really think plain go test
is different). The .coverageprofile
file produced contains file references of the form _/home/travis/gopath/src/github.com/org/proj/main.go
which breaks the go cover tool.
Removing the link and adding /home/travis/gopath
(in the above example) to the GOPATH makes it all work nicely. The go tool really doesn't like symlinks...