projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b5106f5
)
lit: Fix exclude dirs functionality.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 18 Nov 2009 17:42:17 +0000
(17:42 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 18 Nov 2009 17:42:17 +0000
(17:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89210
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/lit/TestFormats.py
patch
|
blob
|
history
diff --git
a/utils/lit/TestFormats.py
b/utils/lit/TestFormats.py
index f067baedca49d08a82f61b36338a9b36f5ced8f3..7305c794a2a2f7cc340ca13d2640833add25d9ed 100644
(file)
--- 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