# HG changeset patch # User Siddharth Agarwal # Date 2012-11-08 22:10:04 # Node ID 082c0e1ecc238965f40303df33bb52e74517e4e3 # Parent 9796d5437e72746d3cc4da601deb52b6a3c9c2e8 run-tests.py: remove runqueue's results parameter since it is now a global diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1121,7 +1121,7 @@ results = dict(p=[], f=[], s=[], i=[]) times = [] iolock = threading.Lock() -def runqueue(options, tests, results): +def runqueue(options, tests): for test in tests: ret = runone(options, test) if options.first and ret is not None and not ret: @@ -1147,7 +1147,7 @@ def runtests(options, tests): print "running all tests" tests = orig - runqueue(options, tests, results) + runqueue(options, tests) failed = len(results['f']) tested = len(results['p']) + failed