[PATCH] run-tests.py: remove runqueue's results parameter since it is now a global

Siddharth Agarwal sid0 at fb.com
Thu Nov 8 17:09:09 CST 2012


# HG changeset patch
# User Siddharth Agarwal <sid0 at fb.com>
# Date 1352412604 28800
# Node ID 6ac7ad13790a6ac3f93bf7fb3efa576006e046a2
# Parent  fb14a5dcdc62987512820531fe60719d650491b6
run-tests.py: remove runqueue's results parameter since it is now a global

diff -r fb14a5dcdc62 -r 6ac7ad13790a tests/run-tests.py
--- a/tests/run-tests.py	Wed Nov 07 09:59:46 2012 -0800
+++ b/tests/run-tests.py	Thu Nov 08 14:10:04 2012 -0800
@@ -1103,7 +1103,7 @@
 resultslock = threading.Lock()
 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:
@@ -1129,7 +1129,7 @@
                 print "running all tests"
                 tests = orig
 
-        runqueue(options, tests, results)
+        runqueue(options, tests)
 
         failed = len(results['f'])
         tested = len(results['p']) + failed


More information about the Mercurial-devel mailing list