From: Daniel Dunbar Date: Tue, 10 Nov 2009 02:40:21 +0000 (+0000) Subject: lit: Fix bug in --show-suites which accidentally override the list of tests. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=972cc05c2351ad221725607df3dc285c71858529;p=oota-llvm.git 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 --- diff --git a/utils/lit/lit.py b/utils/lit/lit.py index d4820d01c19..70bd0605794 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