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

The test suite can be run with the spec interpreter as follows:

./run.py --wasm <path-to-wasm-interpreter>

where the path points to the spec interpreter executable (or a tool that understands similar options). If the binary is in the working directory, this option can be omitted.

In addition, the option --js <path-to-js-interpreter> can be given to point to a stand-alone JavaScript interpreter supporting the WebAssembly API. If provided, all tests are also executed in JavaScript.