2016-08-04 14:41:09 +00:00
|
|
|
# Copyright 2016 the V8 project authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
# Use this to run several variants of the tests.
|
|
|
|
ALL_VARIANT_FLAGS = {
|
|
|
|
"default": [[]],
|
|
|
|
"stress": [["--stress-opt", "--always-opt"]],
|
|
|
|
"turbofan": [["--turbo"]],
|
|
|
|
"turbofan_opt": [["--turbo", "--always-opt"]],
|
|
|
|
"nocrankshaft": [["--nocrankshaft"]],
|
|
|
|
"ignition": [["--ignition"]],
|
2016-08-05 12:46:42 +00:00
|
|
|
"ignition_staging": [["--ignition-staging"]],
|
2016-08-04 14:41:09 +00:00
|
|
|
"ignition_turbofan": [["--ignition-staging", "--turbo"]],
|
2016-09-19 23:56:50 +00:00
|
|
|
"asm_wasm": [["--validate-asm"]],
|
2016-11-17 18:48:08 +00:00
|
|
|
"wasm_traps": [["--wasm_guard_pages", "--invoke-weak-callbacks"]],
|
2016-08-04 14:41:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# FAST_VARIANTS implies no --always-opt.
|
|
|
|
FAST_VARIANT_FLAGS = {
|
|
|
|
"default": [[]],
|
|
|
|
"stress": [["--stress-opt"]],
|
|
|
|
"turbofan": [["--turbo"]],
|
|
|
|
"nocrankshaft": [["--nocrankshaft"]],
|
|
|
|
"ignition": [["--ignition"]],
|
2016-08-05 12:46:42 +00:00
|
|
|
"ignition_staging": [["--ignition-staging"]],
|
2016-08-04 14:41:09 +00:00
|
|
|
"ignition_turbofan": [["--ignition-staging", "--turbo"]],
|
2016-09-19 23:56:50 +00:00
|
|
|
"asm_wasm": [["--validate-asm"]],
|
2016-11-17 18:48:08 +00:00
|
|
|
"wasm_traps": [["--wasm_guard_pages", "--invoke-weak-callbacks"]],
|
2016-08-04 14:41:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt",
|
2016-08-05 12:46:42 +00:00
|
|
|
"nocrankshaft", "ignition", "ignition_staging",
|
2016-11-18 14:06:25 +00:00
|
|
|
"ignition_turbofan", "asm_wasm", "wasm_traps"])
|