OLD | NEW |
1 # Copyright 2016 the V8 project authors. All rights reserved. | 1 # Copyright 2016 the V8 project authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Use this to run several variants of the tests. | 5 # Use this to run several variants of the tests. |
6 ALL_VARIANT_FLAGS = { | 6 ALL_VARIANT_FLAGS = { |
7 "default": [[]], | 7 "default": [[]], |
8 "stress": [["--stress-opt", "--always-opt"]], | 8 "stress": [["--stress-opt", "--always-opt"]], |
9 "turbofan": [["--turbo"]], | 9 "turbofan": [["--turbo"]], |
10 "turbofan_opt": [["--turbo", "--always-opt"]], | 10 "turbofan_opt": [["--turbo", "--always-opt"]], |
11 "noturbofan": [["--no-turbo"]], | 11 "noturbofan": [["--no-turbo"]], |
12 "noturbofan_stress": [["--no-turbo", "--stress-opt", "--always-opt"]], | 12 "noturbofan_stress": [["--no-turbo", "--stress-opt", "--always-opt"]], |
13 "nocrankshaft": [["--nocrankshaft"]], | 13 "nocrankshaft": [["--nocrankshaft"]], |
14 "ignition": [["--ignition"]], | 14 "ignition": [["--ignition"]], |
15 "ignition_turbofan": [["--ignition-staging", "--turbo"]], | 15 "ignition_turbofan": [["--ignition-staging", "--turbo"]], |
16 "asm_wasm": [["--validate-asm"]], | 16 "asm_wasm": [["--validate-asm"]], |
17 "wasm_traps": [["--wasm_guard_pages", "--invoke-weak-callbacks"]], | 17 "wasm_traps": [["--wasm_guard_pages", "--wasm_trap_handler", "--invoke-weak-ca
llbacks"]], |
18 } | 18 } |
19 | 19 |
20 # FAST_VARIANTS implies no --always-opt. | 20 # FAST_VARIANTS implies no --always-opt. |
21 FAST_VARIANT_FLAGS = { | 21 FAST_VARIANT_FLAGS = { |
22 "default": [[]], | 22 "default": [[]], |
23 "stress": [["--stress-opt"]], | 23 "stress": [["--stress-opt"]], |
24 "turbofan": [["--turbo"]], | 24 "turbofan": [["--turbo"]], |
25 "noturbofan": [["--no-turbo"]], | 25 "noturbofan": [["--no-turbo"]], |
26 "noturbofan_stress": [["--no-turbo", "--stress-opt"]], | 26 "noturbofan_stress": [["--no-turbo", "--stress-opt"]], |
27 "nocrankshaft": [["--nocrankshaft"]], | 27 "nocrankshaft": [["--nocrankshaft"]], |
28 "ignition": [["--ignition"]], | 28 "ignition": [["--ignition"]], |
29 "ignition_turbofan": [["--ignition-staging", "--turbo"]], | 29 "ignition_turbofan": [["--ignition-staging", "--turbo"]], |
30 "asm_wasm": [["--validate-asm"]], | 30 "asm_wasm": [["--validate-asm"]], |
31 "wasm_traps": [["--wasm_guard_pages", "--invoke-weak-callbacks"]], | 31 "wasm_traps": [["--wasm_guard_pages", "--wasm_trap_handler", "--invoke-weak-ca
llbacks"]], |
32 } | 32 } |
33 | 33 |
34 ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt", | 34 ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt", |
35 "noturbofan", "noturbofan_stress", | 35 "noturbofan", "noturbofan_stress", |
36 "nocrankshaft", "ignition", | 36 "nocrankshaft", "ignition", |
37 "ignition_turbofan", "asm_wasm", "wasm_traps"]) | 37 "ignition_turbofan", "asm_wasm", "wasm_traps"]) |
OLD | NEW |