Index: tools/testrunner/objects/output.py |
diff --git a/tools/testrunner/objects/output.py b/tools/testrunner/objects/output.py |
index 87b4c84e1996607599a6e83fec36efceb339dabc..b4bb01f797ab5ef534ad6ef326fc4a129e354581 100644 |
--- a/tools/testrunner/objects/output.py |
+++ b/tools/testrunner/objects/output.py |
@@ -32,11 +32,12 @@ from ..local import utils |
class Output(object): |
- def __init__(self, exit_code, timed_out, stdout, stderr): |
+ def __init__(self, exit_code, timed_out, stdout, stderr, pid): |
self.exit_code = exit_code |
self.timed_out = timed_out |
self.stdout = stdout |
self.stderr = stderr |
+ self.pid = pid |
def HasCrashed(self): |
if utils.IsWindows(): |
@@ -52,9 +53,9 @@ class Output(object): |
return self.timed_out |
def Pack(self): |
- return [self.exit_code, self.timed_out, self.stdout, self.stderr] |
+ return [self.exit_code, self.timed_out, self.stdout, self.stderr, self.pid] |
@staticmethod |
def Unpack(packed): |
# For the order of the fields, refer to Pack() above. |
- return Output(packed[0], packed[1], packed[2], packed[3]) |
+ return Output(packed[0], packed[1], packed[2], packed[3], packed[4]) |