• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3# found in the LICENSE file.
4
5# Use this to run several variants of the tests.
6ALL_VARIANT_FLAGS = {
7  "default": [[]],
8  "stress": [["--stress-opt", "--always-opt"]],
9  "turbofan": [["--turbo"]],
10  "turbofan_opt": [["--turbo", "--always-opt"]],
11  "nocrankshaft": [["--nocrankshaft"]],
12  "ignition": [["--ignition"]],
13  "ignition_staging": [["--ignition-staging"]],
14  "ignition_turbofan": [["--ignition-staging", "--turbo"]],
15  "asm_wasm": [["--validate-asm"]],
16  "wasm_traps": [["--wasm_guard_pages", "--invoke-weak-callbacks"]],
17}
18
19# FAST_VARIANTS implies no --always-opt.
20FAST_VARIANT_FLAGS = {
21  "default": [[]],
22  "stress": [["--stress-opt"]],
23  "turbofan": [["--turbo"]],
24  "nocrankshaft": [["--nocrankshaft"]],
25  "ignition": [["--ignition"]],
26  "ignition_staging": [["--ignition-staging"]],
27  "ignition_turbofan": [["--ignition-staging", "--turbo"]],
28  "asm_wasm": [["--validate-asm"]],
29  "wasm_traps": [["--wasm_guard_pages", "--invoke-weak-callbacks"]],
30}
31
32ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt",
33                    "nocrankshaft", "ignition", "ignition_staging",
34                    "ignition_turbofan", "asm_wasm", "wasm_traps"])
35