diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-28 07:32:45 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-28 07:32:45 +0000 |
commit | 705428ae4a7fa6d97a95f7811fa2e36630a43c9c (patch) | |
tree | b62c51ac97d36a2a2895c0b7811562bf3a5b6102 /utils/lit | |
parent | b0d8d781380cb2ea94692d25533f3bd04fd78dce (diff) | |
download | external_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-x | utils/lit/lit.py | 2 |
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. |