[PATCH] D93115: LNT: Sort testsuites ascendingly
Tamar Christina via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 11 05:59:51 PST 2020
tnfchris created this revision.
tnfchris added a reviewer: thopre.
tnfchris requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When running a large number of testsuites having them sorted
alphabetically makes them easier to find.
This also allows us to group testsuite by prefixing them with
language.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93115
Files:
lnt/server/db/v4db.py
Index: lnt/server/db/v4db.py
===================================================================
--- lnt/server/db/v4db.py
+++ lnt/server/db/v4db.py
@@ -55,6 +55,8 @@
continue
tsdb = lnt.server.db.testsuitedb.TestSuiteDB(self, name, suite)
self.testsuite[name] = tsdb
+ # Order testuites alphabetically to get groupings
+ self.testsuite = dict (sorted (self.testsuite.items()))
def __init__(self, path, config, baseline_revision=0):
# If the path includes no database type, assume sqlite.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93115.311204.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201211/a181b01d/attachment.bin>
More information about the llvm-commits
mailing list