run_tests: Do not ignore subdirs of empty dirs

This commit is contained in:
Alexander Neumann 2015-06-13 12:26:38 +02:00
parent da2e9d447f
commit 002c7883c3
1 changed files with 5 additions and 1 deletions

View File

@ -144,10 +144,14 @@ func main() {
return nil
}
if specialDir(p) || emptyDir(p) {
if specialDir(p) {
return filepath.SkipDir
}
if emptyDir(p) {
return nil
}
return testPackage(forceRelativeDirname(p), file)
})