[llvm-commits] [llvm] r89210 - /llvm/trunk/utils/lit/TestFormats.py
Daniel Dunbar
daniel at zuster.org
Wed Nov 18 09:42:17 PST 2009
Author: ddunbar
Date: Wed Nov 18 11:42:17 2009
New Revision: 89210
URL: http://llvm.org/viewvc/llvm-project?rev=89210&view=rev
Log:
lit: Fix exclude dirs functionality.
Modified:
llvm/trunk/utils/lit/TestFormats.py
Modified: llvm/trunk/utils/lit/TestFormats.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/TestFormats.py?rev=89210&r1=89209&r2=89210&view=diff
==============================================================================
--- llvm/trunk/utils/lit/TestFormats.py (original)
+++ llvm/trunk/utils/lit/TestFormats.py Wed Nov 18 11:42:17 2009
@@ -119,8 +119,9 @@
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
More information about the llvm-commits
mailing list