projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6468a5c
)
[lit] Explicitly convert dict items() result to a list.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 7 Aug 2013 23:10:01 +0000
(23:10 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 7 Aug 2013 23:10:01 +0000
(23:10 +0000)
llvm-svn: 187932
llvm/utils/lit/lit/main.py
patch
|
blob
|
history
diff --git
a/llvm/utils/lit/lit/main.py
b/llvm/utils/lit/lit/main.py
index acf6101d08607dbc76b74d145b5b9b188216a0fc..c11f02030a209f654dde9fa9c88371d04b3b5619 100755
(executable)
--- a/
llvm/utils/lit/lit/main.py
+++ b/
llvm/utils/lit/lit/main.py
@@
-297,7
+297,7
@@
def main(builtinParameters = {}):
if t.suite not in suitesAndTests:
suitesAndTests[t.suite] = []
suitesAndTests[t.suite].append(t)
- suitesAndTests =
suitesAndTests.items(
)
+ suitesAndTests =
list(suitesAndTests.items()
)
suitesAndTests.sort(key = lambda item: item[0].name)
# Show the suites, if requested.