Closed F21 closed 6 years ago
@F21 test-reporter
is parsing the content on the c.out
file, which probably has on it the full file paths. You could use the --prefix
flag to remove github.com/Boostport/
and the test-reporter will be able to find the files. The invocation would look something like
cc-test-report after-build --prefix github.com/Boostport/
Thanks @ale7714. --prefix github.com/Boostport/address/
worked for me! 😄
I am using Go 1.11 with Go modules. When Go modules are used, it's possible to build projects outside of the GOPATH. For example, rather than placing the project inside
/pipeline/source/github.com/user/repo
, we can clone the project directly into/pipeline/source
.The test-reporter currently does not support this. It throws an error because it's looking for files in the
github.com/user/repo
folder when the files are directly in the/pipeline/source
folder: