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
+++ b/tests/run-tests.py
@@ -361,6 +361,8 @@ try:
 
         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