Mercurial > hg
changeset 19252:9e9c407e0d1f
run-tests: remove some unnecessary globals
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 27 May 2013 15:24:19 -0500 |
parents | 6857f53456f2 |
children | 043abd6a91d1 |
files | tests/run-tests.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Fri May 24 14:30:43 2013 -0500 +++ b/tests/run-tests.py Mon May 27 15:24:19 2013 -0500 @@ -836,8 +836,6 @@ def runone(options, test): '''returns a result element: (code, test, msg)''' - global iolock - def skip(msg): if options.verbose: log("\nSkipping %s: %s" % (testpath, msg)) @@ -1152,8 +1150,6 @@ iolock = threading.Lock() def runqueue(options, tests): - global results, resultslock - for test in tests: code, test, msg = runone(options, test) resultslock.acquire()