# HG changeset patch # User Simon Heimberg # Date 2012-10-24 21:09:31 # Node ID 42f8ee0e04ac41e01cff3191dfad29cec7b92733 # Parent df84bec19dcef425bd4c17d242015fc6c7c40461 run-tests: skip unnecessary operations on the args in the child proces The arguments are already sorted and never empty. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1170,9 +1170,9 @@ def main(): checktools() - if len(args) == 0: - args = os.listdir(".") - args.sort() + if len(args) == 0: + args = os.listdir(".") + args.sort() tests = args