From: Russ Cox Date: Mon, 4 Apr 2011 20:35:40 +0000 (-0400) Subject: gotest: fix build X-Git-Tag: weekly.2011-04-04~7 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d3ca620bafa28393acb726455a1d875df87ed653;p=gostls13.git gotest: fix build TBR=r CC=golang-dev https://golang.org/cl/4351047 --- diff --git a/src/cmd/gotest/gotest.go b/src/cmd/gotest/gotest.go index a041230f1e..b692063931 100644 --- a/src/cmd/gotest/gotest.go +++ b/src/cmd/gotest/gotest.go @@ -149,6 +149,7 @@ func setEnvironment() { func getTestFileNames() { names := fileNames if len(names) == 0 { + var err os.Error names, err = filepath.Glob("[^.]*_test.go") if err != nil { Fatalf("Glob pattern error: %s", err)