From a6756a2c064c21b41fc0ab0379bd4e055feb8bc0 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 10 Jan 2013 01:58:30 +0100 Subject: [PATCH] test: run tests in alphabetical order --- tools/test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/test.py b/tools/test.py index 29e850d..b60eddd 100755 --- a/tools/test.py +++ b/tools/test.py @@ -667,6 +667,7 @@ class LiteralTestSuite(TestSuite): if not name or name.match(test_name): full_path = current_path + [test_name] test.AddTestsToList(result, full_path, path, context, mode) + result.sort(cmp=lambda a, b: cmp(a.GetName(), b.GetName())) return result def GetTestStatus(self, context, sections, defs): -- 2.7.4