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...)
|
files := append(gos, asms...)
|
||||||
errchk := filepath.Join(runtime.GOROOT(), "test", "errchk")
|
errchk := filepath.Join(runtime.GOROOT(), "test", "errchk")
|
||||||
flags := []string{
|
flags := []string{
|
||||||
binary,
|
"./" + binary,
|
||||||
"-printfuncs=Warn:1,Warnf:1",
|
"-printfuncs=Warn:1,Warnf:1",
|
||||||
}
|
}
|
||||||
cmd = exec.Command(errchk, append(flags, files...)...)
|
cmd = exec.Command(errchk, append(flags, files...)...)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue