mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-19 01:27:40 +00:00
lit: Don't descend into .git directories during test discovery.
llvm-svn: 179249
This commit is contained in:
parent
aeb45789dd
commit
2b76085497
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user