mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 04:25:22 +00:00
lit: Fix exclude dirs functionality.
llvm-svn: 89210
This commit is contained in:
parent
ac0e7c8aca
commit
157d7f6596
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user