run-tests: skip unnecessary operations on the args in the child proces stable
authorSimon Heimberg <simohe@besonet.ch>
Wed, 24 Oct 2012 23:09:31 +0200
branchstable
changeset 1155 380eea1f5add
parent 1153 d98134ae80ba
child 1156 337e1ceae82e
child 1157 06d4b5a1c4e8
run-tests: skip unnecessary operations on the args in the child proces The arguments are already sorted and never empty. [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Sun Oct 21 16:10:04 2012 +0100
+++ b/tests/run-tests.py	Wed Oct 24 23:09:31 2012 +0200
@@ -1170,9 +1170,9 @@
 
         checktools()
 
-    if len(args) == 0:
-        args = os.listdir(".")
-    args.sort()
+        if len(args) == 0:
+            args = os.listdir(".")
+        args.sort()
 
     tests = args