mirror of
https://github.com/golang/go
synced 2024-11-25 06:07:58 -07:00
parent
60c4c3464b
commit
d3ca620baf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user