mirror of
https://github.com/golang/go
synced 2024-11-25 05:57:57 -07:00
parent
60c4c3464b
commit
d3ca620baf
@ -149,6 +149,7 @@ func setEnvironment() {
|
|||||||
func getTestFileNames() {
|
func getTestFileNames() {
|
||||||
names := fileNames
|
names := fileNames
|
||||||
if len(names) == 0 {
|
if len(names) == 0 {
|
||||||
|
var err os.Error
|
||||||
names, err = filepath.Glob("[^.]*_test.go")
|
names, err = filepath.Glob("[^.]*_test.go")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
Fatalf("Glob pattern error: %s", err)
|
Fatalf("Glob pattern error: %s", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user