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. 6 ALL_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 "preparser": [["--min-preparse-length=0"]], 16 "asm_wasm": [["--validate-asm"]], 17 } 18 19 # FAST_VARIANTS implies no --always-opt. 20 FAST_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 "preparser": [["--min-preparse-length=0"]], 29 "asm_wasm": [["--validate-asm"]], 30 } 31 32 ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt", 33 "nocrankshaft", "ignition", "ignition_staging", 34 "ignition_turbofan", "preparser", "asm_wasm"]) 35