Commit bb1c475d authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[test] Bump timeout on slow architectures

Bug: v8:7783
Change-Id: I5273d7fb34d216d556792aa940765d7e1a060b7c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1939448Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65192}
parent 2e9251bc
...@@ -102,15 +102,17 @@ TEST_MAP = { ...@@ -102,15 +102,17 @@ TEST_MAP = {
], ],
} }
# Double the timeout for these: # Increase the timeout for these:
SLOW_ARCHS = ["arm", SLOW_ARCHS = [
"mips", "arm",
"mipsel", "arm64",
"mips64", "mips",
"mips64el", "mipsel",
"s390", "mips64",
"s390x", "mips64el",
"arm64"] "s390",
"s390x",
]
class ModeConfig(object): class ModeConfig(object):
...@@ -720,7 +722,7 @@ class BaseTestRunner(object): ...@@ -720,7 +722,7 @@ class BaseTestRunner(object):
"""Increases timeout for slow build configurations.""" """Increases timeout for slow build configurations."""
factor = self.mode_options.timeout_scalefactor factor = self.mode_options.timeout_scalefactor
if self.build_config.arch in SLOW_ARCHS: if self.build_config.arch in SLOW_ARCHS:
factor *= 4 factor *= 4.5
if self.build_config.lite_mode: if self.build_config.lite_mode:
factor *= 2 factor *= 2
if self.build_config.predictable: if self.build_config.predictable:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment