thanks in advance for the help.
On my Mac, when I execute a go test ./... the correct "path" is outputted in the output:
ok http://ift.tt/1U2T4x1 0.008s
ok http://ift.tt/1LOxBVM 0.008s
? http://ift.tt/1U2T1RU [no test files]
ok http://ift.tt/1LOxBVO 0.014s
However, when I build in an Ubuntu 14.04 Trusty container, the path has been replaced by an "_" (underscore):
ok _/tmp/cnuss/server 0.003s
ok _/tmp/cnuss/server/database 0.003s
? _/tmp/cnuss/server/handlers [no test files]
ok _/tmp/cnuss/server/stats 0.008s
The change in the path is also reflected in the -coverprofile output file, which in turns affects some of the coverage tools I'm using.
So question is, what affects the path that is resolved while executing go test? The behavior on my Mac Book is the correct behavior.
Aucun commentaire:
Enregistrer un commentaire