mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +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...)
|
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…
x
Reference in New Issue
Block a user