Index: tools/testrunner/objects/context.py |
diff --git a/tools/testrunner/objects/context.py b/tools/testrunner/objects/context.py |
index f8f764b3a6cf63e10a55b1758df824df07430cdc..d288e0e05304eab99acb1fd870968f0b1d1e256e 100644 |
--- a/tools/testrunner/objects/context.py |
+++ b/tools/testrunner/objects/context.py |
@@ -29,7 +29,7 @@ |
class Context(): |
def __init__(self, arch, mode, shell_dir, mode_flags, verbose, timeout, |
isolates, command_prefix, extra_flags, noi18n, random_seed, |
- no_sorting): |
+ no_sorting, rerun_failures_count, rerun_failures_max): |
self.arch = arch |
self.mode = mode |
self.shell_dir = shell_dir |
@@ -42,15 +42,18 @@ class Context(): |
self.noi18n = noi18n |
self.random_seed = random_seed |
self.no_sorting = no_sorting |
+ self.rerun_failures_count = rerun_failures_count |
+ self.rerun_failures_max = rerun_failures_max |
def Pack(self): |
return [self.arch, self.mode, self.mode_flags, self.timeout, self.isolates, |
self.command_prefix, self.extra_flags, self.noi18n, |
- self.random_seed, self.no_sorting] |
+ self.random_seed, self.no_sorting, self.rerun_failures_count, |
+ self.rerun_failures_max] |
@staticmethod |
def Unpack(packed): |
# For the order of the fields, refer to Pack() above. |
return Context(packed[0], packed[1], None, packed[2], False, |
packed[3], packed[4], packed[5], packed[6], packed[7], |
- packed[8], packed[9]) |
+ packed[8], packed[9], packed[10], packed[11]) |