tree: c4d8dd20c12cac826de2562afb0ad5bd388a52dc [path history] [tgz]
  1. expected-output/
  2. address-offset-range.fail.wast
  3. address.wast
  4. address64.wast
  5. align.wast
  6. align64.wast
  7. array-new-data.wast
  8. array-new-elem.wast
  9. array.wast
  10. atomics.wast
  11. binary-leb128.wast
  12. binary.wast
  13. block.wast
  14. br.wast
  15. br_if.wast
  16. br_on_null.wast
  17. br_table.wast
  18. break-drop.wast
  19. bulk-array.wast
  20. bulk-memory.wast
  21. bulk-memory64.wast
  22. call.wast
  23. call_indirect.wast
  24. call_indirect_refnull.wast
  25. call_indirect_sig_mismatch.wast
  26. call_ref.wast
  27. comments.wast
  28. const.wast
  29. Contributing.md
  30. conversions.wast
  31. convert_extern.wast
  32. custom.wast
  33. data.wast
  34. elem.wast
  35. elem_reftypes.wast
  36. endianness.wast
  37. endianness64.wast
  38. exception-handling-legacy.wast
  39. exception-handling.wast
  40. exports.wast
  41. f32.load32.fail.wast
  42. f32.load64.fail.wast
  43. f32.store32.fail.wast
  44. f32.store64.fail.wast
  45. f32.wast
  46. f32_bitwise.wast
  47. f32_cmp.wast
  48. f64.load32.fail.wast
  49. f64.load64.fail.wast
  50. f64.store32.fail.wast
  51. f64.store64.fail.wast
  52. f64.wast
  53. f64_bitwise.wast
  54. f64_cmp.wast
  55. fac.wast
  56. float_exprs.wast
  57. float_literals.wast
  58. float_memory.wast
  59. float_memory64.wast
  60. float_misc.wast
  61. forward.wast
  62. func-local-after-body.fail.wast
  63. func-local-before-param.fail.wast
  64. func-local-before-result.fail.wast
  65. func-param-after-body.fail.wast
  66. func-result-after-body.fail.wast
  67. func-result-before-param.fail.wast
  68. func.wast
  69. func_ptrs.wast
  70. get_local.wast
  71. globals.wast
  72. i31.wast
  73. i32.load32_s.fail.wast
  74. i32.load32_u.fail.wast
  75. i32.load64_s.fail.wast
  76. i32.load64_u.fail.wast
  77. i32.store32.fail.wast
  78. i32.store64.fail.wast
  79. i32.wast
  80. i64.load64_s.fail.wast
  81. i64.load64_u.fail.wast
  82. i64.store64.fail.wast
  83. i64.wast
  84. if.wast
  85. import-after-func.fail.wast
  86. import-after-global.fail.wast
  87. import-after-table.fail.wast
  88. imports.wast
  89. inline-module.wast
  90. int_exprs.wast
  91. int_literals.wast
  92. labels.wast
  93. left-to-right.wast
  94. LICENSE
  95. linking.wast
  96. load.wast
  97. load64.wast
  98. local_get.wast
  99. local_set.wast
  100. local_tee.wast
  101. loop.wast
  102. memory.wast
  103. memory64.wast
  104. memory_grow.wast
  105. memory_grow64.wast
  106. memory_redundancy.wast
  107. memory_redundancy64.wast
  108. memory_size.wast
  109. memory_trap.wast
  110. memory_trap64.wast
  111. multi-memories_size.wast
  112. multivalue.wast
  113. names.wast
  114. nop.wast
  115. of_string-overflow-hex-u32.fail.wast
  116. of_string-overflow-hex-u64.fail.wast
  117. of_string-overflow-s32.fail.wast
  118. of_string-overflow-s64.fail.wast
  119. of_string-overflow-u32.fail.wast
  120. of_string-overflow-u64.fail.wast
  121. old_address.wast
  122. old_address64.wast
  123. old_exports.wast
  124. old_globals.wast
  125. old_import.wast
  126. old_int_literals.wast
  127. old_select.wast
  128. old_start.wast
  129. README.md
  130. ref_as_non_null.wast
  131. ref_cast.wast
  132. ref_eq.wast
  133. ref_func.wast
  134. ref_is_null.wast
  135. ref_null.wast
  136. ref_test.wast
  137. resizing.wast
  138. resizing64.wast
  139. return.wast
  140. return_call.wast
  141. return_call_eh.wast
  142. return_call_indirect.wast
  143. return_call_ref.wast
  144. select.wast
  145. set_local.wast
  146. shared-array.wast
  147. shared-i31.wast
  148. shared-polymorphism.wast
  149. shared-ref_eq.wast
  150. shared-struct.wast
  151. simd.wast
  152. skip-stack-guard-page.wast
  153. stack.wast
  154. start.wast
  155. store.wast
  156. store_retval.wast
  157. struct.wast
  158. switch.wast
  159. table.wast
  160. table_copy.wast
  161. table_fill.wast
  162. table_get.wast
  163. table_grow.wast
  164. table_set.wast
  165. table_size.wast
  166. tags.wast
  167. tee_local.wast
  168. token.wast
  169. traps.wast
  170. type.wast
  171. typecheck.wast
  172. typed_continuations.wast
  173. unreachable.wast
  174. unreached-invalid.wast
  175. unwind.wast
  176. utf8-custom-section-id.wast
  177. utf8-import-field.wast
  178. utf8-import-module.wast
  179. utf8-invalid-encoding.wast
test/spec/README.md

This directory contains tests for the core WebAssembly semantics, as described in Semantics.md and specified by the spec interpreter.

Tests are written in the S-Expression script format defined by the interpreter.

To execute all spec tests, run the following command from the binaryen top-level directory:

./check.py spec

Individual spec tests may be executed by running the following command from the binaryen top-level directory:

bin/wasm-shell [path to spec test]