run-tests: skip unnecessary operations on the args in the child proces
authorSimon Heimberg <simohe@besonet.ch>
Wed, 24 Oct 2012 23:09:31 +0200
changeset 17908 42f8ee0e04ac
parent 17905 df84bec19dce
child 17909 3326fd05eb1f
child 17913 03e552aaae67
run-tests: skip unnecessary operations on the args in the child proces The arguments are already sorted and never empty.
tests/run-tests.py
--- a/tests/run-tests.py	Thu Nov 01 16:30:48 2012 -0500
+++ 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