[test] Add Liftoff variant

Add a variant for testing the current state of the Liftoff
implementation.
This variant will only run on a subset of the bots, just like the
--future variant.

R=machenbach@chromium.org, hablich@chromium.org

Bug: v8:7088, v8:6600
Change-Id: If49fad3a8ed579356504b821a787326754f24e78
Reviewed-on: https://chromium-review.googlesource.com/779420
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49504}
This commit is contained in:
Clemens Hammacher 2017-11-20 17:54:39 +01:00 committed by Commit Bot
parent 9e45be0933
commit 712fa67554
2 changed files with 6 additions and 3 deletions

View File

@ -6,6 +6,7 @@
ALL_VARIANT_FLAGS = { ALL_VARIANT_FLAGS = {
"default": [[]], "default": [[]],
"future": [["--future"]], "future": [["--future"]],
"liftoff": [["--liftoff"]],
"stress": [["--stress-opt", "--always-opt"]], "stress": [["--stress-opt", "--always-opt"]],
# TODO(6792): Write protected code has been temporary added to the below # TODO(6792): Write protected code has been temporary added to the below
# variant until the feature has been enabled (or staged) by default. # variant until the feature has been enabled (or staged) by default.
@ -22,6 +23,7 @@ ALL_VARIANT_FLAGS = {
FAST_VARIANT_FLAGS = { FAST_VARIANT_FLAGS = {
"default": [[]], "default": [[]],
"future": [["--future"]], "future": [["--future"]],
"liftoff": [["--liftoff"]],
"stress": [["--stress-opt"]], "stress": [["--stress-opt"]],
# TODO(6792): Write protected code has been temporary added to the below # TODO(6792): Write protected code has been temporary added to the below
# variant until the feature has been enabled (or staged) by default. # variant until the feature has been enabled (or staged) by default.
@ -34,5 +36,6 @@ FAST_VARIANT_FLAGS = {
"wasm_traps": [["--wasm_trap_handler", "--invoke-weak-callbacks"]], "wasm_traps": [["--wasm_trap_handler", "--invoke-weak-callbacks"]],
} }
ALL_VARIANTS = set(["default", "future", "stress", "stress_incremental_marking", ALL_VARIANTS = set(["default", "future", "liftoff", "stress",
"nooptimization", "stress_background_compile", "wasm_traps"]) "stress_incremental_marking", "nooptimization",
"stress_background_compile", "wasm_traps"])

View File

@ -48,7 +48,7 @@ VARIANT_ALIASES = {
# Additional variants, run on all bots. # Additional variants, run on all bots.
"more": MORE_VARIANTS, "more": MORE_VARIANTS,
# Additional variants, run on a subset of bots. # Additional variants, run on a subset of bots.
"extra": ["future"], "extra": ["future", "liftoff"],
} }
GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction",