Skip to content

Commit a6756a2

Browse files
committed
test: run tests in alphabetical order
1 parent c207d40 commit a6756a2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,7 @@ def ListTests(self, current_path, path, context, mode):
667667
if not name or name.match(test_name):
668668
full_path = current_path + [test_name]
669669
test.AddTestsToList(result, full_path, path, context, mode)
670+
result.sort(cmp=lambda a, b: cmp(a.GetName(), b.GetName()))
670671
return result
671672

672673
def GetTestStatus(self, context, sections, defs):

0 commit comments

Comments
 (0)