run-tests: skip unnecessary operations on the args in the child proces
The arguments are already sorted and never empty.
[ original upstream message ]
--- 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