diff options
Diffstat (limited to 'utils/lit/TestFormats.py')
-rw-r--r-- | utils/lit/TestFormats.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/lit/TestFormats.py b/utils/lit/TestFormats.py index f067bae..7305c79 100644 --- a/utils/lit/TestFormats.py +++ b/utils/lit/TestFormats.py @@ -119,8 +119,9 @@ class OneCommandPerFileTest: if not self.recursive: subdirs[:] = [] - if dirname == '.svn' or dirname in localConfig.excludes: - continue + subdirs[:] = [d for d in subdirs + if (d != '.svn' and + d not in localConfig.excludes)] for filename in filenames: if (not self.pattern.match(filename) or |