summaryrefslogtreecommitdiffstats
path: root/utils/lit/TestFormats.py
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2009-11-19 08:59:28 +0000
committerrdivacky <rdivacky@FreeBSD.org>2009-11-19 08:59:28 +0000
commit02fb33730c346d6a785d935d7aba9af93ba51da6 (patch)
treebc7d702d3d7f66d1e9083201cc8327bc0d06a450 /utils/lit/TestFormats.py
parentd2e985fd323c167e20f77b045a1d99ad166e65db (diff)
downloadFreeBSD-src-02fb33730c346d6a785d935d7aba9af93ba51da6.zip
FreeBSD-src-02fb33730c346d6a785d935d7aba9af93ba51da6.tar.gz
Update LLVM to r89337.
Diffstat (limited to 'utils/lit/TestFormats.py')
-rw-r--r--utils/lit/TestFormats.py5
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
OpenPOWER on IntegriCloud