Index: tools/testrunner/local/execution.py |
diff --git a/tools/testrunner/local/execution.py b/tools/testrunner/local/execution.py |
index 5c5fbac969376e18f11fca898239ab42d90e2b6b..35e0efe7cfed032be4601bae3f9efcdf2b5d8755 100644 |
--- a/tools/testrunner/local/execution.py |
+++ b/tools/testrunner/local/execution.py |
@@ -230,11 +230,14 @@ class Runner(object): |
try: |
it = pool.imap_unordered(RunTest, queue) |
for result in it: |
- test = test_map[result[0]] |
+ if result.heartbeat: |
+ self.indicator.Heartbeat() |
+ continue |
+ test = test_map[result.value[0]] |
if self.context.predictable: |
- update_perf = self._ProcessTestPredictable(test, result, pool) |
+ update_perf = self._ProcessTestPredictable(test, result.value, pool) |
else: |
- update_perf = self._ProcessTestNormal(test, result, pool) |
+ update_perf = self._ProcessTestNormal(test, result.value, pool) |
if update_perf: |
self._RunPerfSafe(lambda: self.perfdata.UpdatePerfData(test)) |
finally: |