mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
[lit] Explicitly convert dict items() result to a list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187932 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
05fb743a99
commit
32b7d4dfc1
@ -297,7 +297,7 @@ def main(builtinParameters = {}):
|
|||||||
if t.suite not in suitesAndTests:
|
if t.suite not in suitesAndTests:
|
||||||
suitesAndTests[t.suite] = []
|
suitesAndTests[t.suite] = []
|
||||||
suitesAndTests[t.suite].append(t)
|
suitesAndTests[t.suite].append(t)
|
||||||
suitesAndTests = suitesAndTests.items()
|
suitesAndTests = list(suitesAndTests.items())
|
||||||
suitesAndTests.sort(key = lambda item: item[0].name)
|
suitesAndTests.sort(key = lambda item: item[0].name)
|
||||||
|
|
||||||
# Show the suites, if requested.
|
# Show the suites, if requested.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user