tests: sort test list if running all tests
authorMatt Mackall <mpm@selenic.com>
Wed, 08 Nov 2006 13:20:08 -0600
changeset 3624 a90a86929d04
parent 3623 44247ecc2965
child 3625 cc0cd5942223
tests: sort test list if running all tests
tests/run-tests.py
--- a/tests/run-tests.py	Tue Nov 07 22:35:07 2006 +0100
+++ b/tests/run-tests.py	Wed Nov 08 13:20:08 2006 -0600
@@ -361,6 +361,8 @@
 
         if len(args) == 0:
             args = os.listdir(".")
+            args.sort()
+
         for test in args:
             if (test.startswith("test-") and '~' not in test and
                 ('.' not in test or test.endswith('.py') or