mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 16:31:13 +00:00
lit: Fix exclude dirs functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89210 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b5106f5c33
commit
a7193e40e2
@ -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…
x
Reference in New Issue
Block a user