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 "nocrankshaft": [["--nocrankshaft"]], | 11 "nocrankshaft": [["--nocrankshaft"]], |
12 "ignition": [["--ignition"]], | 12 "ignition": [["--ignition"]], |
13 "ignition_staging": [["--ignition-staging"]], | 13 "ignition_staging": [["--ignition-staging"]], |
14 "ignition_turbofan": [["--ignition-staging", "--turbo"]], | 14 "ignition_turbofan": [["--ignition-staging", "--turbo"]], |
15 "preparser": [["--min-preparse-length=0"]], | 15 "preparser": [["--min-preparse-length=0"]], |
| 16 "asm_wasm": [["--validate-asm"]], |
16 } | 17 } |
17 | 18 |
18 # FAST_VARIANTS implies no --always-opt. | 19 # FAST_VARIANTS implies no --always-opt. |
19 FAST_VARIANT_FLAGS = { | 20 FAST_VARIANT_FLAGS = { |
20 "default": [[]], | 21 "default": [[]], |
21 "stress": [["--stress-opt"]], | 22 "stress": [["--stress-opt"]], |
22 "turbofan": [["--turbo"]], | 23 "turbofan": [["--turbo"]], |
23 "nocrankshaft": [["--nocrankshaft"]], | 24 "nocrankshaft": [["--nocrankshaft"]], |
24 "ignition": [["--ignition"]], | 25 "ignition": [["--ignition"]], |
25 "ignition_staging": [["--ignition-staging"]], | 26 "ignition_staging": [["--ignition-staging"]], |
26 "ignition_turbofan": [["--ignition-staging", "--turbo"]], | 27 "ignition_turbofan": [["--ignition-staging", "--turbo"]], |
27 "preparser": [["--min-preparse-length=0"]], | 28 "preparser": [["--min-preparse-length=0"]], |
| 29 "asm_wasm": [["--validate-asm"]], |
28 } | 30 } |
29 | 31 |
30 ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt", | 32 ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt", |
31 "nocrankshaft", "ignition", "ignition_staging", | 33 "nocrankshaft", "ignition", "ignition_staging", |
32 "ignition_turbofan", "preparser"]) | 34 "ignition_turbofan", "preparser", "asm_wasm"]) |
OLD | NEW |