run-tests.py: remove runqueue's results parameter since it is now a global stable
authorSiddharth Agarwal <sid0@fb.com>
Thu, 08 Nov 2012 14:10:04 -0800
branchstable
changeset 1161 ce884838a955
parent 1160 5a89f5217625
child 1162 0928d50a0abe
child 1163 d5d13134793a
run-tests.py: remove runqueue's results parameter since it is now a global [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Sat Nov 10 11:37:41 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