aboutsummaryrefslogtreecommitdiffstats
path: root/utils/lit
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-28 07:32:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-28 07:32:45 +0000
commit705428ae4a7fa6d97a95f7811fa2e36630a43c9c (patch)
treeb62c51ac97d36a2a2895c0b7811562bf3a5b6102 /utils/lit
parentb0d8d781380cb2ea94692d25533f3bd04fd78dce (diff)
downloadexternal_llvm-705428ae4a7fa6d97a95f7811fa2e36630a43c9c.zip
external_llvm-705428ae4a7fa6d97a95f7811fa2e36630a43c9c.tar.gz
external_llvm-705428ae4a7fa6d97a95f7811fa2e36630a43c9c.tar.bz2
Don't traverse into .svn directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit')
-rwxr-xr-xutils/lit/lit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lit/lit.py b/utils/lit/lit.py
index f9e75cd..5b24286 100755
--- a/utils/lit/lit.py
+++ b/utils/lit/lit.py
@@ -261,7 +261,7 @@ def getTestsInSuite(ts, path_in_suite, litConfig,
# Search subdirectories.
for filename in os.listdir(source_path):
# FIXME: This doesn't belong here?
- if filename == 'Output' or filename in lc.excludes:
+ if filename in ('Output', '.svn') or filename in lc.excludes:
continue
# Ignore non-directories.