From d3ca620bafa28393acb726455a1d875df87ed653 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 4 Apr 2011 16:35:40 -0400 Subject: [PATCH] gotest: fix build TBR=r CC=golang-dev https://golang.org/cl/4351047 --- src/cmd/gotest/gotest.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/gotest/gotest.go b/src/cmd/gotest/gotest.go index a041230f1ef..b6920639314 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)