run-tests.py: remove runqueue's results parameter since it is now a global
authorSiddharth Agarwal <sid0@fb.com>
Thu, 08 Nov 2012 14:10:04 -0800
changeset 17928 082c0e1ecc23
parent 17927 9796d5437e72
child 17929 0eed66327ad4
run-tests.py: remove runqueue's results parameter since it is now a global
tests/run-tests.py
--- a/tests/run-tests.py	Tue Nov 13 09:56:09 2012 -0800
+++ b/tests/run-tests.py	Thu Nov 08 14:10:04 2012 -0800
@@ -1121,7 +1121,7 @@
 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 @@
                 print "running all tests"
                 tests = orig
 
-        runqueue(options, tests, results)
+        runqueue(options, tests)
 
         failed = len(results['f'])
         tested = len(results['p']) + failed