test: run tests in alphabetical order
This commit is contained in:
parent
c207d400f1
commit
a6756a2c06
@ -667,6 +667,7 @@ class LiteralTestSuite(TestSuite):
|
|||||||
if not name or name.match(test_name):
|
if not name or name.match(test_name):
|
||||||
full_path = current_path + [test_name]
|
full_path = current_path + [test_name]
|
||||||
test.AddTestsToList(result, full_path, path, context, mode)
|
test.AddTestsToList(result, full_path, path, context, mode)
|
||||||
|
result.sort(cmp=lambda a, b: cmp(a.GetName(), b.GetName()))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def GetTestStatus(self, context, sections, defs):
|
def GetTestStatus(self, context, sections, defs):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user