Commit 6e5f2812 authored by Thibaud Michaud's avatar Thibaud Michaud Committed by Commit Bot

[wasm] Update spec tests

The multi-value proposal is now merged in the main spec repository, so:
- Remove everything that references the multi-value spec repository
- Add --experimental-wasm-mv to the default flags

R=ahaas@chromium.org

Change-Id: I9f809c21404bb5c1d21eb330748ea51a15688546
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2153219
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67313}
parent 71257bed
......@@ -31,10 +31,6 @@ proposal_flags = [{
'name': 'JS-BigInt-integration',
'flags': ['--experimental-wasm-bigint']
},
{
'name': 'multi-value',
'flags': ['--experimental-wasm-mv']
},
]
......
6e091ed0e8ef57cdbfa46265b0001f19e3bb0f20
\ No newline at end of file
314eea8c8ec34ffc9a88d9fee30e1fd7faac79d6
\ No newline at end of file
......@@ -6,13 +6,14 @@
[ALWAYS, {
# These are slow, and not useful to run for the proposals:
'proposals/reference-types/limits': [SKIP],
'proposals/multi-value/limits': [SKIP],
'proposals/bulk-memory-operations/limits': [SKIP],
'proposals/JS-BigInt-integration/limits': [SKIP],
'proposals/js-types/limits': [SKIP],
# TODO(v8:9673): Enable these spec tests once they exist, and the out-dated
# tests have been removed.
'proposals/JS-BigInt-integration/module/params-long': [FAIL],
# TODO(wasm): Update memory limit.
'limits': [FAIL],
}], # ALWAYS
['arch == s390 or arch == s390x or system == aix', {
......
......@@ -24,11 +24,6 @@ proposal_flags = [{
'name': 'JS-BigInt-integration',
'flags': ['--experimental-wasm-bigint']
},
{
'name': 'multi-value',
'flags': ['--experimental-wasm-mv',
'--no-experimental-wasm-bulk-memory']
},
]
class TestLoader(testsuite.JSTestLoader):
......@@ -54,7 +49,8 @@ class TestCase(testcase.D8TestCase):
for proposal in proposal_flags:
if os.sep.join(['proposals', proposal['name']]) in self.path:
return proposal['flags']
return []
# TODO(thibaudm): Remove the flag once multi-value is shipped in V8.
return ['--experimental-wasm-mv']
def GetSuite(*args, **kwargs):
......
acdfb34955e3b0e5031890aebaf552782f38f0f3
\ No newline at end of file
bdea7f38a2876730f85ddd32dc49a07da0e63a16
\ No newline at end of file
......@@ -20,10 +20,9 @@
'proposals/js-types/globals': [FAIL],
'proposals/js-types/linking': [FAIL],
# TODO(thibaudm): Spec tests do not check multi-return functions correctly.
'proposals/multi-value/call': [FAIL],
'proposals/multi-value/if': [FAIL],
'proposals/multi-value/func': [FAIL],
# TODO(wasm): This test declares a table larger than allowed by the spec.
'table': [FAIL],
'proposals/reference-types/table': [FAIL],
}], # ALWAYS
['arch == mipsel or arch == mips64el or arch == mips or arch == mips64', {
......@@ -47,13 +46,10 @@
'proposals/JS-BigInt-integration/f64': [SKIP],
'proposals/bulk-memory-operations/f32': [SKIP],
'proposals/bulk-memory-operations/f64': [SKIP],
'proposals/multi-value/f32': [SKIP],
'proposals/multi-value/f64': [SKIP],
'proposals/reference-types/f32': [SKIP],
'proposals/reference-types/f64': [SKIP],
'proposals/JS-BigInt-integration/float_misc': [SKIP],
'proposals/bulk-memory-operations/float_misc': [SKIP],
'proposals/multi-value/float_misc': [SKIP],
'proposals/reference-types/float_misc': [SKIP],
}], # 'arch == mipsel or arch == mips64el or arch == mips or arch == mips64'
......@@ -73,8 +69,6 @@
'proposals/JS-BigInt-integration/f64': [SKIP],
'proposals/bulk-memory-operations/f32': [SKIP],
'proposals/bulk-memory-operations/f64': [SKIP],
'proposals/multi-value/f32': [SKIP],
'proposals/multi-value/f64': [SKIP],
'proposals/reference-types/f32': [SKIP],
'proposals/reference-types/f64': [SKIP],
# This test fails because ppc float to double doesn't convert sNaN to qNaN.
......@@ -82,7 +76,6 @@
'proposals/js-types/conversions': [SKIP],
'proposals/JS-BigInt-integration/conversions': [SKIP],
'proposals/bulk-memory-operations/conversions': [SKIP],
'proposals/multi-value/conversions': [SKIP],
'proposals/reference-types/conversions': [SKIP],
}], # 'arch == ppc or arch == ppc64'
......@@ -96,8 +89,6 @@
'proposals/JS-BigInt-integration/f64': [SKIP],
'proposals/bulk-memory-operations/f32': [SKIP],
'proposals/bulk-memory-operations/f64': [SKIP],
'proposals/multi-value/f32': [SKIP],
'proposals/multi-value/f64': [SKIP],
'proposals/reference-types/f32': [SKIP],
'proposals/reference-types/f64': [SKIP],
}], # 'arch == s390 or arch == s390x'
......
......@@ -71,7 +71,7 @@ log_and_run cp -r ${TMP_DIR}/spec/test/js-api/* ${JS_API_TEST_DIR}/tests
# Generate the proposal tests.
###############################################################################
repos='bulk-memory-operations reference-types js-types JS-BigInt-integration multi-value'
repos='bulk-memory-operations reference-types js-types JS-BigInt-integration'
for repo in ${repos}; do
echo "Process ${repo}"
......
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