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
This commit is contained in:
Daniel Dunbar 2009-11-10 02:40:21 +00:00
parent 734516d1f6
commit 972cc05c23

View File

@ -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