From 002c7883c33e1306bc3d54eb406081858050100b Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 13 Jun 2015 12:26:38 +0200 Subject: [PATCH] run_tests: Do not ignore subdirs of empty dirs --- run_tests.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/run_tests.go b/run_tests.go index 28b1ef389..5cfdaa51e 100644 --- a/run_tests.go +++ b/run_tests.go @@ -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) })