aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-04-11 00:31:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-04-11 00:31:35 +0000
commitaa3a85e2fadcf33d18b00c1654108e85ef704361 (patch)
treec5603d93aa10a65c1b77709f5e75e8279c520d36 /utils
parente94bd36dc715bc05aff35e04528dbc409a87d97c (diff)
lit: Don't descend into .git directories during test discovery.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/lit/lit/discovery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lit/lit/discovery.py b/utils/lit/lit/discovery.py
index c869a671ef..b87de74c8b 100644
--- a/utils/lit/lit/discovery.py
+++ b/utils/lit/lit/discovery.py
@@ -137,7 +137,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 in ('Output', '.svn') or filename in lc.excludes:
+ if filename in ('Output', '.svn', '.git') or filename in lc.excludes:
continue
# Ignore non-directories.