summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/etc/wasm/generate-spectests/config.toml
blob: 9341a70ab7c0ffd4657f36ee82ba6d685c146e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Standard 'directives.txt' prologues for jit-tests
harness_directive = "|jit-test| skip-if: true"
directive = "|jit-test| test-also=--wasm-compiler=optimizing; test-also=--wasm-compiler=baseline; test-also=--wasm-test-serialization; test-also=--test-wasm-await-tier2; test-also=--disable-wasm-huge-memory; skip-variant-if: --disable-wasm-huge-memory, !wasmHugeMemorySupported(); local-include:harness/harness.js"

# Failing tests across all testsuites
excluded_tests = [
  # false-positive windows-specific failures
  "align.wast",
  # bulk-memory-operations/issues/133 (data.wast:161)
  "data.wast",
  # memory limits can be encoded with more bytes now
  "binary.wast",
  "binary-leb128.wast",
  # testing that multiple tables fail (imports.wast:309)
  "imports.wast",
  # bulk-memory-operations/issues/133 (linking.wast:206)
  "linking.wast",
  # bulk-memory-operations/issues/133 (elem.wast:142)
  "elem.wast",
  # test harness doesn't acquire global values correctly
  "exports.wast",
  # false-positive windows-specific failure
  "memory_trap.wast",
  # false-positive error on invalid UTF-8 custom section name (utf8-custom-section-id.wast:6)
  "utf8-custom-section-id.wast",
  # invalid table maximum length for web embeddings
  "table.wast",
  # fails after a bottom-type has been added to validation
  "unreached-invalid.wast",
  # argument is not wasm value
  "^select.wast",
]

[[repos]]
name = "spec"
url = "https://github.com/WebAssembly/spec"
excluded_tests = []
directive = "; test-also=--no-avx; skip-variant-if: --no-avx, !getBuildConfiguration().x86 && !getBuildConfiguration().x64 || getBuildConfiguration().simulator"

[[repos]]
name = "threads"
url = "https://github.com/WebAssembly/threads"
branch = "main"
parent = "spec"
excluded_tests = [
  "atomic.wast",
  # testing that multi-value isn't implemented (func.wast:492)
  "func.wast",
  # testing that multi-value isn't implemented (type.wast:52)
  "type.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: !wasmThreadsEnabled()"

[[repos]]
name = "exception-handling"
url = "https://github.com/WebAssembly/exception-handling"
branch = "main"
parent = "spec"
# Skip in jit-test when it's not enabled
directive = "; --wasm-exceptions; skip-if: !wasmExceptionsEnabled()"
excluded_tests = [
  # This gets included due to divergence between the proposal repo and the
  # upstream spec, it can be removed when the repo is rebased.
  "global.wast"
]

[[repos]]
name = "memory64"
url = "https://github.com/mozilla-spidermonkey/memory64"
branch = "test-cases"
directive = "; skip-if: !wasmMemory64Enabled()"
excluded_tests = []

[[repos]]
name = "function-references"
url = "https://github.com/WebAssembly/function-references"
branch = "main"
parent = "spec"
directive = "; --wasm-function-references; skip-if: !wasmFunctionReferencesEnabled()"
excluded_tests = [
  # return_call_ref not implemented
  "return_call_ref.wast",
  # table function elem subtyping
  "ref_is_null.wast",
  # cannot expose indexed reference type
  "ref_null.wast",
  # parameter subtyping
  "type-equivalence.wast",
  # NYI WasmValType.h:259
  "table-sub.wast",
  # unrelated
  "tokens.wast",
  # irrelevant
  "simd_lane.wast",
]

[[repos]]
name = "relaxed-simd"
url = "https://github.com/WebAssembly/relaxed-simd"
branch = "main"
parent = "spec"
directive = "; --wasm-relaxed-simd; skip-if: !wasmRelaxedSimdEnabled()"
excluded_tests = []

[[repos]]
name = "extended-const"
url = "https://github.com/WebAssembly/extended-const"
branch = "main"
parent = "spec"
directive = "; --wasm-extended-const; skip-if: !wasmExtendedConstEnabled()"
excluded_tests = []