in versioning/scripts/cloudbuild/main.go [263:277]
func readTests(testsDir string) (tests []string) {
if info, err := os.Stat(testsDir); err == nil && info.IsDir() {
files, err := ioutil.ReadDir(testsDir)
check(err)
for _, f := range files {
if f.IsDir() {
continue
}
if strings.HasSuffix(f.Name(), testJsonSuffix) || strings.HasSuffix(f.Name(), testYamlSuffix) {
tests = append(tests, workspacePrefix+fmt.Sprintf("%s/%s", testsDir, f.Name()))
}
}
}
return
}