[PATCH] run-tests: skip unnecessary operations on the args in the child proces
Augie Fackler
raf at durin42.com
Tue Nov 6 15:48:55 CST 2012
queued, thanks
On Nov 5, 2012, at 5:18 PM, Simon Heimberg <simohe at besonet.ch> wrote:
> # HG changeset patch
> # User Simon Heimberg <simohe at besonet.ch>
> # Date 1351112971 -7200
> # Branch stable
> # Node ID 6c34cb355529123c5e36e4fa128406bec827a371
> # Parent 9e763d92c1393baebdc44747ba1f33e64d78f512
> run-tests: skip unnecessary operations on the args in the child proces
>
> The arguments are already sorted and never empty.
>
> diff -r 9e763d92c139 -r 6c34cb355529 tests/run-tests.py
> --- a/tests/run-tests.py Mit Okt 24 23:09:31 2012 +0200
> +++ b/tests/run-tests.py Mit Okt 24 23:09:31 2012 +0200
> @@ -1173,9 +1173,9 @@
>
> checktools()
>
> - if len(args) == 0:
> - args = os.listdir(".")
> - args.sort()
> + if len(args) == 0:
> + args = os.listdir(".")
> + args.sort()
>
> tests = args
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list