changeset 17908:42f8ee0e04ac

run-tests: skip unnecessary operations on the args in the child proces The arguments are already sorted and never empty.
author Simon Heimberg <simohe@besonet.ch>
date Wed, 24 Oct 2012 23:09:31 +0200
parents df84bec19dce
children 3326fd05eb1f 03e552aaae67
files tests/run-tests.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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