Bug 1175708 - Followup to fix windows jstests.py bustage on a CLOSED TREE; r=meow
authorTerrence Cole <terrence@mozilla.com>
Thu, 18 Jun 2015 10:33:34 -0700
changeset 269163 ceba6484abda5dcf2eed70c46798a609d158e96a
parent 269162 b4e617011c421869aee85ff7aa94a39ee6b73b8b
child 269164 32aa45a637cbe703b27a1c989f27d571de8bc165
push id8157
push userjlund@mozilla.com
push dateMon, 29 Jun 2015 20:36:23 +0000
treeherdermozilla-aurora@d480e05bd276 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmeow
bugs1175708
milestone41.0a1
Bug 1175708 - Followup to fix windows jstests.py bustage on a CLOSED TREE; r=meow
js/src/tests/lib/tasks_win.py
--- a/js/src/tests/lib/tasks_win.py
+++ b/js/src/tests/lib/tasks_win.py
@@ -7,17 +7,17 @@ import sys
 from threading import Thread
 from Queue import Queue, Empty
 
 
 class EndMarker:
     pass
 
 
-def _do_work(qTasks, qResults, timeout):
+def _do_work(qTasks, qResults, prefix, timeout):
     while True:
         test = qTasks.get(block=True, timeout=sys.maxint)
         if test is EndMarker:
             qResults.put(EndMarker)
             return
         qResults.put(test.run(prefix, timeout))
 
 
@@ -56,13 +56,13 @@ def run_all_tests_gen(tests, prefix, res
 
     # Cleanup and exit.
     for worker in workers:
         worker.join()
     assert qTasks.empty(), "Send queue not drained"
     assert qResults.empty(), "Result queue not drained"
 
 
-def run_all_tests(tests, results, options):
-    for result in run_all_tests_gen(tests, results, options):
+def run_all_tests(tests, prefix, results, options):
+    for result in run_all_tests_gen(tests, prefix, results, options):
         results.push(result)
     return True