mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
go.tools/cmd/vet: say ./testvet instead of testvet
I bet "." is not in the default PATH. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/9867043
This commit is contained in:
parent
f91ca66179
commit
d6c1c75eab
@ -48,7 +48,7 @@ func TestVet(t *testing.T) {
|
||||
files := append(gos, asms...)
|
||||
errchk := filepath.Join(runtime.GOROOT(), "test", "errchk")
|
||||
flags := []string{
|
||||
binary,
|
||||
"./" + binary,
|
||||
"-printfuncs=Warn:1,Warnf:1",
|
||||
}
|
||||
cmd = exec.Command(errchk, append(flags, files...)...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user