Commit 7e07d3f6 authored by bradnelson's avatar bradnelson Committed by Commit bot

[wasm] asm.js: Add asm_wasm variant to test asm.js->wasm pipeline.

BUG= https://bugs.chromium.org/p/v8/issues/detail?id=4203
BUG= https://bugs.chromium.org/p/v8/issues/detail?id=5406
LOG=N
R=mstarzinger@chromium.org,machenbach@chromium.org

Review-Url: https://codereview.chromium.org/2309833003
Cr-Commit-Position: refs/heads/master@{#39521}
parent bf43f883
......@@ -435,4 +435,8 @@
'test-cpu-profiler/FunctionApplySample': [PASS, ['system == windows', SKIP]],
}], # variant == ignition_turbofan
['variant == asm_wasm', {
'*': [SKIP],
}], # variant == asm_wasm
]
......@@ -36,4 +36,9 @@
'date-format/timezone': [PASS, ['no_snap', SKIP]],
'number-format/check-digit-ranges': [PASS, ['no_snap', SKIP]],
}], # 'arch == arm64 and mode == debug and simulator_run == True and variant == ignition'
['variant == asm_wasm', {
'*': [SKIP],
}], # variant == asm_wasm
]
......@@ -827,4 +827,23 @@
'big-array-literal': [SKIP],
}], # 'gcov_coverage'
##############################################################################
['variant == asm_wasm', {
# Skip stuff uninteresting for asm.js
'bugs/*': [SKIP],
'compiler/*': [SKIP],
'es6/*': [SKIP],
'es7/*': [SKIP],
'es8/*': [SKIP],
'harmony/*': [SKIP],
'ignition/*': [SKIP],
'lithium/*': [SKIP],
'third_party/*': [SKIP],
'tools/*': [SKIP],
'apply': [SKIP],
'math-*': [SKIP],
'unicode-test': [SKIP],
'whitespaces': [SKIP],
}], # variant == asm_wasm
]
......@@ -979,4 +979,9 @@
#BUG(3152): Avoid C stack overflow.
'js1_5/extensions/regress-355497': [FAIL_OK, 'Flags: --sim-stack-size=512'],
}], # 'arch == arm64 and simulator_run == True'
['variant == asm_wasm', {
'*': [SKIP],
}], # variant == asm_wasm
]
......@@ -619,6 +619,10 @@
'built-ins/ArrayBuffer/length-is-too-large-throws': [SKIP],
}], # asan == True or msan == True or tsan == True
['variant == asm_wasm', {
'*': [SKIP],
}], # variant == asm_wasm
# Module-related tests
# https://bugs.chromium.org/p/v8/issues/detail?id=1569
['variant != ignition', {
......
......@@ -19,4 +19,9 @@
'Ieee754.Acosh': [SKIP],
'Ieee754.Asinh': [SKIP],
}], # 'arch == x87'
['variant == asm_wasm', {
'*': [SKIP],
}], # variant == asm_wasm
]
......@@ -129,5 +129,10 @@
'run-json-stringify': [SKIP],
}], # 'gcov_coverage'
##############################################################################
['variant == asm_wasm', {
'*': [SKIP],
}], # variant == asm_wasm
##############################################################################
]
......@@ -104,6 +104,7 @@ MORE_VARIANTS = [
"ignition",
"stress",
"turbofan_opt",
"asm_wasm",
]
EXHAUSTIVE_VARIANTS = VARIANTS + MORE_VARIANTS
......
......@@ -13,6 +13,7 @@ ALL_VARIANT_FLAGS = {
"ignition_staging": [["--ignition-staging"]],
"ignition_turbofan": [["--ignition-staging", "--turbo"]],
"preparser": [["--min-preparse-length=0"]],
"asm_wasm": [["--validate-asm"]],
}
# FAST_VARIANTS implies no --always-opt.
......@@ -25,8 +26,9 @@ FAST_VARIANT_FLAGS = {
"ignition_staging": [["--ignition-staging"]],
"ignition_turbofan": [["--ignition-staging", "--turbo"]],
"preparser": [["--min-preparse-length=0"]],
"asm_wasm": [["--validate-asm"]],
}
ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt",
"nocrankshaft", "ignition", "ignition_staging",
"ignition_turbofan", "preparser"])
"ignition_turbofan", "preparser", "asm_wasm"])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment