[wasm] Update wasm spec tests
This CL also fixes a small bug in the update-wasm-spec-tests.sh script, as it was not able to handle proposals without additional core spec tests. It also disables a lot of tests. R=jkummerow@chromium.org bug:v8:10556 Change-Id: Ibd885350478de935dc67edb664715cfa64f1d8e1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2210248 Commit-Queue: Andreas Haas <ahaas@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/master@{#67949}
This commit is contained in:
parent
98438d8619
commit
f6ec77c29e
@ -1 +1 @@
|
||||
39f768b7ebbd39747e7e64415214a0c5f15a2d43
|
||||
4ed8451098f61230e9675a3e92568f29419cc11d
|
@ -5,6 +5,42 @@
|
||||
[
|
||||
|
||||
[ALWAYS, {
|
||||
# TODO(v8:10556): Remove sub-typing in the reference-types implementation
|
||||
'constructor/compile': [FAIL],
|
||||
'constructor/instantiate-bad-imports': [FAIL],
|
||||
'constructor/instantiate': [FAIL],
|
||||
'constructor/multi-value': [FAIL],
|
||||
'constructor/validate': [FAIL],
|
||||
'global/constructor': [FAIL],
|
||||
'global/value-get-set': [FAIL],
|
||||
'global/valueOf': [FAIL],
|
||||
'global/toString': [FAIL],
|
||||
'instance/constructor-bad-imports': [FAIL],
|
||||
'instance/constructor-caching': [FAIL],
|
||||
'instance/constructor': [FAIL],
|
||||
'instance/exports': [FAIL],
|
||||
'instance/toString': [FAIL],
|
||||
'interface': [FAIL],
|
||||
'memory/toString': [FAIL],
|
||||
'memory/grow': [FAIL],
|
||||
'memory/buffer': [FAIL],
|
||||
'memory/constructor': [FAIL],
|
||||
'module/constructor': [FAIL],
|
||||
'module/customSections': [FAIL],
|
||||
'module/exports': [FAIL],
|
||||
'module/imports': [FAIL],
|
||||
'module/toString': [FAIL],
|
||||
'proposals/JS-BigInt-integration/global/value-get-set': [FAIL],
|
||||
'proposals/JS-BigInt-integration/global/constructor': [FAIL],
|
||||
'proposals/js-types/constructor/instantiate': [FAIL],
|
||||
'proposals/js-types/instance/constructor': [FAIL],
|
||||
'prototypes': [FAIL],
|
||||
'table/constructor': [FAIL],
|
||||
'table/get-set': [FAIL],
|
||||
'table/grow': [FAIL],
|
||||
'table/length': [FAIL],
|
||||
'table/toString': [FAIL],
|
||||
|
||||
# These are slow, and not useful to run for the proposals:
|
||||
'proposals/reference-types/limits': [SKIP],
|
||||
'proposals/bulk-memory-operations/limits': [SKIP],
|
||||
|
@ -9,11 +9,13 @@ from testrunner.objects import testcase
|
||||
|
||||
proposal_flags = [{
|
||||
'name': 'reference-types',
|
||||
'flags': ['--experimental-wasm-anyref']
|
||||
'flags': ['--experimental-wasm-anyref',
|
||||
'--wasm-staging']
|
||||
},
|
||||
{
|
||||
'name': 'bulk-memory-operations',
|
||||
'flags': ['--experimental-wasm-bulk-memory']
|
||||
'flags': ['--experimental-wasm-bulk-memory',
|
||||
'--wasm-staging']
|
||||
},
|
||||
{
|
||||
'name': 'js-types',
|
||||
|
@ -1 +1 @@
|
||||
5e319c4079c815b7d6fbc0b11bdfd3c0720caa0a
|
||||
427b76df2465c910c3f849291bb3b449b3aac30b
|
@ -20,6 +20,26 @@
|
||||
'proposals/js-types/globals': [FAIL],
|
||||
'proposals/js-types/linking': [FAIL],
|
||||
|
||||
# TODO(v8:10556): Remove sub-typing in the reference-types implementation
|
||||
'proposals/bulk-memory-operations/binary': [FAIL],
|
||||
'proposals/bulk-memory-operations/bulk': [FAIL],
|
||||
'proposals/bulk-memory-operations/elem': [FAIL],
|
||||
'proposals/bulk-memory-operations/imports': [FAIL],
|
||||
|
||||
'proposals/reference-types/binary': [FAIL],
|
||||
'proposals/reference-types/bulk': [FAIL],
|
||||
'proposals/reference-types/elem': [FAIL],
|
||||
'proposals/reference-types/global': [FAIL],
|
||||
'proposals/reference-types/linking': [FAIL],
|
||||
'proposals/reference-types/ref_func': [FAIL],
|
||||
'proposals/reference-types/ref_is_null': [FAIL],
|
||||
'proposals/reference-types/ref_null': [FAIL],
|
||||
'proposals/reference-types/table_get': [FAIL],
|
||||
'proposals/reference-types/table_grow': [FAIL],
|
||||
'proposals/reference-types/table_set': [FAIL],
|
||||
'proposals/reference-types/table_size': [FAIL],
|
||||
'proposals/reference-types/unreached-invalid': [FAIL],
|
||||
|
||||
# TODO(wasm): This test declares a table larger than allowed by the spec.
|
||||
'table': [FAIL],
|
||||
'proposals/reference-types/table': [FAIL],
|
||||
|
@ -95,7 +95,10 @@ for repo in ${repos}; do
|
||||
log_and_run ./run.py --wasm ../../interpreter/wasm ${rel_filename} --out _build 2> /dev/null
|
||||
fi
|
||||
done
|
||||
log_and_run cp _build/*.js ${SPEC_TEST_DIR}/tests/proposals/${repo}/
|
||||
|
||||
if ls _build/*.js > /dev/null; then
|
||||
log_and_run cp _build/*.js ${SPEC_TEST_DIR}/tests/proposals/${repo}/
|
||||
fi
|
||||
|
||||
echo ">> Process js-api tests"
|
||||
log_and_run mkdir ${JS_API_TEST_DIR}/tests/proposals/${repo}
|
||||
|
Loading…
Reference in New Issue
Block a user