Commit c978a5a3 authored by Russ Cox's avatar Russ Cox

test: skip . files in directory

Xcode generates ._foo.go files.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5786055
parent 56cae1c2
......@@ -147,7 +147,7 @@ func goFiles(dir string) []string {
check(err)
names := []string{}
for _, name := range dirnames {
if strings.HasSuffix(name, ".go") {
if !strings.HasPrefix(name, ".") && strings.HasSuffix(name, ".go") {
names = append(names, name)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment