forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1617827 - Wasm: Switch to 'wasm-generate-testsuite' tooling for i…
…mporting spec test-suite. r=lth This switches our test import Makefile to use the wasm-generate-testsuite tool for importing spec-tests. A new config file declaring the proposals to import, along with tests to skip, is added to jit-test/etc. There was an ability to apply a .patch file to paper over a back-compat issue is types.wast.js. It appears that newer spec/tests don't include a types.wast, so I don't think this patch is necessary anymore. We can add this ability back later if needed. Differential Revision: https://phabricator.services.mozilla.com/D65195 --HG-- extra : moz-landing-system : lando
- Loading branch information
Showing
3 changed files
with
84 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Standard 'directives.txt' prologues for jit-tests | ||
harness_directive = "|jit-test| skip-if: true" | ||
directive = "|jit-test| test-also=--wasm-compiler=ion; test-also=--wasm-compiler=baseline; test-also=--test-wasm-await-tier2; test-also=--disable-wasm-huge-memory; skip-variant-if: --disable-wasm-huge-memory, !wasmHugeMemoryIsSupported(); include:wasm-testharness.js; local-include:harness/sync_index.js" | ||
|
||
# Failing tests across all testsuites | ||
excluded_tests = ["align.wast", "memory_trap.wast", "imports.wast", "exports.wast", "linking.wast", "data.wast", "names.wast", "utf8-custom-section-id.wast"] | ||
|
||
[[repos]] | ||
name = "spec" | ||
url = "https://github.com/WebAssembly/spec" | ||
|
||
[[repos]] | ||
name = "sign-extension-ops" | ||
url = "https://github.com/WebAssembly/sign-extension-ops" | ||
parent = "spec" | ||
|
||
[[repos]] | ||
name = "nontrapping-float-to-int-conversions" | ||
url = "https://github.com/WebAssembly/nontrapping-float-to-int-conversions" | ||
parent = "spec" | ||
|
||
[[repos]] | ||
name = "multi-value" | ||
url = "https://github.com/WebAssembly/multi-value" | ||
parent = "spec" | ||
excluded_tests = ["call_indirect.wast", "block.wast", "fac.wast", "if.wast"] | ||
# Skip in WPT where we can't guard on features being enabled | ||
skip_wpt = true | ||
# Skip in jit-test when it's not enabled | ||
directive = "; skip-if: !wasmMultiValueEnabled()" | ||
|
||
[[repos]] | ||
name = "threads" | ||
url = "https://github.com/WebAssembly/threads" | ||
parent = "spec" | ||
# Skip in WPT where we can't guard on features being enabled | ||
skip_wpt = true | ||
# Skip in jit-test when it's not enabled | ||
directive = "; skip-if: !wasmThreadsSupported()" | ||
|
||
[[repos]] | ||
name = "bulk-memory-operations" | ||
url = "https://github.com/WebAssembly/bulk-memory-operations" | ||
parent = "spec" | ||
# Skip in WPT where we can't guard on features being enabled | ||
skip_wpt = true | ||
# Skip in jit-test when it's not enabled | ||
directive = "; skip-if: !wasmBulkMemSupported()" | ||
|
||
[[repos]] | ||
name = "reference-types" | ||
url = "https://github.com/WebAssembly/reference-types" | ||
parent = "spec" | ||
excluded_tests = ["table_fill.wast", "select.wast", "float_memory.wast", "call_indirect.wast"] | ||
# Skip in WPT where we can't guard on features being enabled | ||
skip_wpt = true | ||
# Skip in jit-test when it's not enabled | ||
directive = "; skip-if: !wasmBulkMemSupported() || !wasmReftypesEnabled()" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters