Commit e4938bff authored by Andreas Haas's avatar Andreas Haas Committed by Commit Bot

[wasm] Update spec tests

The bulk-memory proposal and the reference types proposal have been
merged into the main repository, so we don't have to run the proposal
tests anymore.

R=ecmziegler@chromium.org

Change-Id: I14583b8c1c387075442a402458ce04e7c6071f89
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2752165
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: 's avatarEmanuel Ziegler <ecmziegler@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73481}
parent dba30652
...@@ -14,17 +14,6 @@ META_SCRIPT_REGEXP = re.compile(r"META:\s*script=(.*)") ...@@ -14,17 +14,6 @@ META_SCRIPT_REGEXP = re.compile(r"META:\s*script=(.*)")
META_TIMEOUT_REGEXP = re.compile(r"META:\s*timeout=(.*)") META_TIMEOUT_REGEXP = re.compile(r"META:\s*timeout=(.*)")
proposal_flags = [{ proposal_flags = [{
'name': 'reference-types',
'flags': ['--experimental-wasm-reftypes',
'--no-experimental-wasm-bulk-memory',
'--wasm-staging']
},
{
'name': 'bulk-memory-operations',
'flags': ['--experimental-wasm-bulk-memory',
'--wasm-staging']
},
{
'name': 'js-types', 'name': 'js-types',
'flags': ['--experimental-wasm-type-reflection', 'flags': ['--experimental-wasm-type-reflection',
'--wasm-staging'] '--wasm-staging']
......
9d2a96ab2f914b3559d16c6382cc929170c58e6d 3bcb7f822917b3ce7c21a6342091bf9b456d5b59
\ No newline at end of file \ No newline at end of file
...@@ -15,18 +15,10 @@ ...@@ -15,18 +15,10 @@
'prototypes': [FAIL], 'prototypes': [FAIL],
# Outdated proposals, will work after rebasing.
'proposals/reference-types/global/value-get-set': [FAIL],
'proposals/reference-types/global/constructor': [FAIL],
'proposals/bulk-memory-operations/global/value-get-set': [FAIL],
'proposals/bulk-memory-operations/global/constructor': [FAIL],
# These are slow, and not useful to run for the proposals: # These are slow, and not useful to run for the proposals:
'proposals/reference-types/limits': [SKIP],
'proposals/bulk-memory-operations/limits': [SKIP],
'proposals/js-types/limits': [SKIP], 'proposals/js-types/limits': [SKIP],
# TODO(wasm): Update memory limit. 'proposals/simd/limits': [SKIP],
'limits': [FAIL], 'proposals/memory64/limits': [SKIP],
}], # ALWAYS }], # ALWAYS
['arch == s390 or arch == s390x or system == aix', { ['arch == s390 or arch == s390x or system == aix', {
......
...@@ -8,16 +8,6 @@ from testrunner.local import testsuite ...@@ -8,16 +8,6 @@ from testrunner.local import testsuite
from testrunner.objects import testcase from testrunner.objects import testcase
proposal_flags = [{ proposal_flags = [{
'name': 'reference-types',
'flags': ['--experimental-wasm-reftypes',
'--wasm-staging']
},
{
'name': 'bulk-memory-operations',
'flags': ['--experimental-wasm-bulk-memory',
'--wasm-staging']
},
{
'name': 'js-types', 'name': 'js-types',
'flags': ['--experimental-wasm-type-reflection', 'flags': ['--experimental-wasm-type-reflection',
'--wasm-staging'] '--wasm-staging']
...@@ -62,7 +52,7 @@ class TestCase(testcase.D8TestCase): ...@@ -62,7 +52,7 @@ class TestCase(testcase.D8TestCase):
for proposal in proposal_flags: for proposal in proposal_flags:
if os.sep.join(['proposals', proposal['name']]) in self.path: if os.sep.join(['proposals', proposal['name']]) in self.path:
return proposal['flags'] return proposal['flags']
return [] return ['--experimental-wasm-reftypes']
def GetSuite(*args, **kwargs): def GetSuite(*args, **kwargs):
......
d36fd4d2706abf81e86ddfa248ed9c7496ca415d d6a0d76f83940d4a01dbda31b8dcb9b7bcf4de00
\ No newline at end of file \ No newline at end of file
...@@ -10,12 +10,16 @@ ...@@ -10,12 +10,16 @@
'proposals/simd/data': [FAIL], 'proposals/simd/data': [FAIL],
'proposals/js-types/data': [FAIL], 'proposals/js-types/data': [FAIL],
# TODO(v8:9144): The MVP behavior when bounds-checking segments changed in # Missing rebase in the proposal repository.
# the bulk-memory proposal. Since we've enabled bulk-memory by default, we 'proposals/js-types/table': [FAIL],
# need to update to use its testsuite. 'proposals/js-types/unreached-invalid': [FAIL],
'linking': [FAIL], 'proposals/memory64/linking': [FAIL],
'elem': [FAIL], 'proposals/memory64/table': [FAIL],
'data': [FAIL], 'proposals/memory64/unreached-invalid': [FAIL],
'proposals/simd/elem': [FAIL],
'proposals/simd/linking': [FAIL],
'proposals/simd/table': [FAIL],
'proposals/simd/unreached-invalid': [FAIL],
# TODO(wasm): Roll newest tests into "js-types" repository. # TODO(wasm): Roll newest tests into "js-types" repository.
'proposals/js-types/elem': [FAIL], 'proposals/js-types/elem': [FAIL],
......
...@@ -71,7 +71,7 @@ log_and_run cp -r ${TMP_DIR}/spec/test/js-api/* ${JS_API_TEST_DIR}/tests ...@@ -71,7 +71,7 @@ log_and_run cp -r ${TMP_DIR}/spec/test/js-api/* ${JS_API_TEST_DIR}/tests
# Generate the proposal tests. # Generate the proposal tests.
############################################################################### ###############################################################################
repos='bulk-memory-operations reference-types js-types tail-call simd memory64' repos='js-types tail-call simd memory64'
for repo in ${repos}; do for repo in ${repos}; do
echo "Process ${repo}" 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