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:
Rob Pike 2013-05-29 15:00:51 -04:00
parent f91ca66179
commit d6c1c75eab

View File

@ -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...)...)