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

[test] Enable staging test runner changes on fyi bots

Bug: v8:6917
Change-Id: Ica9b590d194da305416826eeed9f49963b8d97ca
Reviewed-on: https://chromium-review.googlesource.com/839776Reviewed-by: 's avatarSergiy Byelozyorov <sergiyb@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50281}
parent 9baef6a7
......@@ -17,4 +17,10 @@
'V8 Linux64 - debug': [
{'name': 'v8testing', 'variant': 'minor_mc', 'shards': 1},
],
'V8 Linux64 - fyi': [
{'name': 'v8testing', 'variant': 'infra_staging', 'shards': 1},
],
'V8 Linux64 - debug - fyi': [
{'name': 'v8testing', 'variant': 'infra_staging', 'shards': 2},
],
}
\ No newline at end of file
......@@ -8,6 +8,9 @@
# {'name': 'benchmarks', 'variant': 'default', 'shards': 1},
# ],
'v8_linux64_fyi_rel_ng_triggered': [
{'name': 'v8testing', 'variant': 'infra_staging', 'shards': 2},
],
'v8_linux64_rel_ng_triggered': [
{'name': 'v8testing', 'variant': 'minor_mc', 'shards': 1},
],
......
......@@ -18,6 +18,9 @@ ALL_VARIANT_FLAGS = {
"nooptimization": [["--noopt"]],
"stress_background_compile": [["--background-compile", "--stress-background-compile"]],
"wasm_traps": [["--wasm_trap_handler", "--invoke-weak-callbacks", "--wasm-jit-to-native"]],
# Alias of exhaustive variants, but triggering new test framework features.
"infra_staging": [[]],
}
# FAST_VARIANTS implies no --always-opt.
......
......@@ -156,6 +156,8 @@ class StandardTestRunner(base_runner.BaseTestRunner):
parser.add_option("--extra-flags",
help="Additional flags to pass to each test command",
action="append", default=[])
parser.add_option("--infra-staging", help="Use new test runner features",
default=False, action="store_true")
parser.add_option("--isolates", help="Whether to test isolates",
default=False, action="store_true")
parser.add_option("-j", help="The number of parallel tasks to run",
......@@ -300,6 +302,10 @@ class StandardTestRunner(base_runner.BaseTestRunner):
# Use developer defaults if no variant was specified.
options.variants = options.variants or "dev"
if options.variants == "infra_staging":
options.variants = "exhaustive"
options.infra_staging = True
# Resolve variant aliases and dedupe.
# TODO(machenbach): Don't mutate global variable. Rather pass mutated
# version as local variable.
......
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