Skip to content

Instantly share code, notes, and snippets.

@bnoordhuis
Created January 10, 2013 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bnoordhuis/54f1e586bb2a435e9050 to your computer and use it in GitHub Desktop.
Save bnoordhuis/54f1e586bb2a435e9050 to your computer and use it in GitHub Desktop.
diff --git a/tools/test.py b/tools/test.py
index 29e850d..c74b12b 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -639,6 +639,7 @@ class TestRepository(TestSuite):
tests = self.GetConfiguration(context).ListTests(current_path, path, mode)
for t in tests: t.variant_flags = v
result += tests
+ result.sort(cmp=lambda a, b: cmp(a.GetName(), b.GetName()))
def GetTestStatus(self, context, sections, defs):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment