summaryrefslogtreecommitdiff
path: root/chromium/v8/tools/run-tests.py
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-07-12 14:07:37 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-07-17 10:29:26 +0000
commitec02ee4181c49b61fce1c8fb99292dbb8139cc90 (patch)
tree25cde714b2b71eb639d1cd53f5a22e9ba76e14ef /chromium/v8/tools/run-tests.py
parentbb09965444b5bb20b096a291445170876225268d (diff)
downloadqtwebengine-chromium-ec02ee4181c49b61fce1c8fb99292dbb8139cc90.tar.gz
BASELINE: Update Chromium to 59.0.3071.134
Change-Id: Id02ef6fb2204c5fd21668a1c3e6911c83b17585a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/v8/tools/run-tests.py')
-rwxr-xr-xchromium/v8/tools/run-tests.py26
1 files changed, 10 insertions, 16 deletions
diff --git a/chromium/v8/tools/run-tests.py b/chromium/v8/tools/run-tests.py
index 55e33f9a920..0b1675b75e6 100755
--- a/chromium/v8/tools/run-tests.py
+++ b/chromium/v8/tools/run-tests.py
@@ -105,12 +105,12 @@ TEST_MAP = {
TIMEOUT_DEFAULT = 60
# Variants ordered by expected runtime (slowest first).
-VARIANTS = ["ignition_staging", "default", "turbofan"]
+VARIANTS = ["default", "noturbofan"]
MORE_VARIANTS = [
"stress",
- "turbofan_opt",
- "ignition",
+ "noturbofan_stress",
+ "nooptimization",
"asm_wasm",
"wasm_traps",
]
@@ -123,7 +123,7 @@ VARIANT_ALIASES = {
# Additional variants, run on all bots.
"more": MORE_VARIANTS,
# Additional variants, run on a subset of bots.
- "extra": ["nocrankshaft"],
+ "extra": ["fullcode"],
}
DEBUG_FLAGS = ["--nohard-abort", "--nodead-code-elimination",
@@ -263,9 +263,6 @@ def BuildOptions():
result.add_option("--download-data-only",
help="Deprecated",
default=False, action="store_true")
- result.add_option("--enable-inspector",
- help="Indicates a build with inspector support",
- default=False, action="store_true")
result.add_option("--extra-flags",
help="Additional flags to pass to each test command",
default="")
@@ -323,6 +320,8 @@ def BuildOptions():
default=False, action="store_true")
result.add_option("--json-test-results",
help="Path to a file for storing json results.")
+ result.add_option("--flakiness-results",
+ help="Path to a file for storing flakiness json.")
result.add_option("--rerun-failures-count",
help=("Number of times to rerun each failing test case. "
"Very slow tests will be rerun only once."),
@@ -404,7 +403,7 @@ def SetupEnvironment(options):
)
if options.asan:
- asan_options = [symbolizer]
+ asan_options = [symbolizer, "allow_user_segv_handler=1"]
if not utils.GuessOS() == 'macos':
# LSAN is not available on mac.
asan_options.append('detect_leaks=1')
@@ -494,7 +493,6 @@ def ProcessOptions(options):
options.arch = 'ia32'
options.asan = build_config["is_asan"]
options.dcheck_always_on = build_config["dcheck_always_on"]
- options.enable_inspector = build_config["v8_enable_inspector"]
options.mode = 'debug' if build_config["is_debug"] else 'release'
options.msan = build_config["is_msan"]
options.no_i18n = not build_config["v8_enable_i18n_support"]
@@ -621,13 +619,6 @@ def ProcessOptions(options):
if options.no_i18n:
TEST_MAP["bot_default"].remove("intl")
TEST_MAP["default"].remove("intl")
- if not options.enable_inspector:
- TEST_MAP["default"].remove("inspector")
- TEST_MAP["bot_default"].remove("inspector")
- TEST_MAP["optimize_for_size"].remove("inspector")
- TEST_MAP["default"].remove("debugger")
- TEST_MAP["bot_default"].remove("debugger")
- TEST_MAP["optimize_for_size"].remove("debugger")
return True
@@ -878,6 +869,9 @@ def Execute(arch, mode, args, options, suites):
progress_indicator.Register(progress.JsonTestProgressIndicator(
options.json_test_results, arch, MODES[mode]["execution_mode"],
ctx.random_seed))
+ if options.flakiness_results:
+ progress_indicator.Register(progress.FlakinessTestProgressIndicator(
+ options.flakiness_results))
run_networked = not options.no_network
if not run_networked: