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"]],
|
2017-03-09 13:36:23 +00:00
|
|
|
"noturbofan": [["--no-turbo"]],
|
|
|
|
"noturbofan_stress": [["--no-turbo", "--stress-opt", "--always-opt"]],
|
2016-08-04 14:41:09 +00:00
|
|
|
"nocrankshaft": [["--nocrankshaft"]],
|
|
|
|
"ignition": [["--ignition"]],
|
|
|
|
"ignition_turbofan": [["--ignition-staging", "--turbo"]],
|
2016-09-19 23:56:50 +00:00
|
|
|
"asm_wasm": [["--validate-asm"]],
|
2017-03-13 19:14:35 +00:00
|
|
|
"wasm_traps": [["--wasm_guard_pages", "--wasm_trap_handler", "--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"]],
|
2017-03-09 13:36:23 +00:00
|
|
|
"noturbofan": [["--no-turbo"]],
|
|
|
|
"noturbofan_stress": [["--no-turbo", "--stress-opt"]],
|
2016-08-04 14:41:09 +00:00
|
|
|
"nocrankshaft": [["--nocrankshaft"]],
|
|
|
|
"ignition": [["--ignition"]],
|
|
|
|
"ignition_turbofan": [["--ignition-staging", "--turbo"]],
|
2016-09-19 23:56:50 +00:00
|
|
|
"asm_wasm": [["--validate-asm"]],
|
2017-03-13 19:14:35 +00:00
|
|
|
"wasm_traps": [["--wasm_guard_pages", "--wasm_trap_handler", "--invoke-weak-callbacks"]],
|
2016-08-04 14:41:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt",
|
2017-03-13 14:18:42 +00:00
|
|
|
"noturbofan", "noturbofan_stress",
|
2017-03-10 10:59:34 +00:00
|
|
|
"nocrankshaft", "ignition",
|
2016-11-18 14:06:25 +00:00
|
|
|
"ignition_turbofan", "asm_wasm", "wasm_traps"])
|