1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:14:52 -07:00

gotest: fix build

TBR=r
CC=golang-dev
https://golang.org/cl/4351047
This commit is contained in:
Russ Cox 2011-04-04 16:35:40 -04:00
parent 60c4c3464b
commit d3ca620baf

View File

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