aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-10 02:40:21 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-10 02:40:21 +0000
commit972cc05c2351ad221725607df3dc285c71858529 (patch)
treec27a241fc8c6731ecc730ae70490a612fcc8012b /utils
parent734516d1f6a135baf6abe1c2874c80d4bada0039 (diff)
downloadexternal_llvm-972cc05c2351ad221725607df3dc285c71858529.zip
external_llvm-972cc05c2351ad221725607df3dc285c71858529.tar.gz
external_llvm-972cc05c2351ad221725607df3dc285c71858529.tar.bz2
lit: Fix bug in --show-suites which accidentally override the list of tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/lit/lit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/lit/lit.py b/utils/lit/lit.py
index d4820d0..70bd060 100755
--- a/utils/lit/lit.py
+++ b/utils/lit/lit.py
@@ -452,8 +452,8 @@ def main():
print '-- Test Suites --'
suitesAndTests = suitesAndTests.items()
suitesAndTests.sort(key = lambda (ts,_): ts.name)
- for ts,tests in suitesAndTests:
- print ' %s - %d tests' %(ts.name, len(tests))
+ for ts,ts_tests in suitesAndTests:
+ print ' %s - %d tests' %(ts.name, len(ts_tests))
print ' Source Root: %s' % ts.source_root
print ' Exec Root : %s' % ts.exec_root