tree: 9bc1dc572bf93c6611fb68ab7ee2371645d59b8c [path history] [tgz]
  1. expected-output/
  2. stack-switching/
  3. threads/
  4. address-offset-range.fail.wast
  5. address.wast
  6. align.wast
  7. array-new-data.wast
  8. array-new-elem.wast
  9. array.wast
  10. atomics.wast
  11. binary.wast
  12. block.wast
  13. br_if.wast
  14. br_on_cast_desc_eq.wast
  15. br_on_null.wast
  16. break-drop.wast
  17. bulk-array.wast
  18. bulk-memory.wast
  19. bulk-memory64.wast
  20. call_indirect.wast
  21. call_indirect_cross_module.wast
  22. call_indirect_refnull.wast
  23. call_indirect_sig_mismatch.wast
  24. call_ref_linked.wast
  25. comments.wast
  26. const.wast
  27. cont-validation.wast
  28. Contributing.md
  29. conversions.wast
  30. convert_extern.wast
  31. data.wast
  32. descriptors.wast
  33. dot_product.wast
  34. elem.wast
  35. elem_reftypes.wast
  36. exact-func-import.wast
  37. exception-handling-legacy.wast
  38. exception-handling.wast
  39. f16.wast
  40. f32.load32.fail.wast
  41. f32.load64.fail.wast
  42. f32.store32.fail.wast
  43. f32.store64.fail.wast
  44. f64.load32.fail.wast
  45. f64.load64.fail.wast
  46. f64.store32.fail.wast
  47. f64.store64.fail.wast
  48. fac.wast
  49. func-local-after-body.fail.wast
  50. func-local-before-param.fail.wast
  51. func-local-before-result.fail.wast
  52. func-param-after-body.fail.wast
  53. func-result-after-body.fail.wast
  54. func-result-before-param.fail.wast
  55. func.wast
  56. get_local.wast
  57. globals.wast
  58. i31.wast
  59. i32.load32_s.fail.wast
  60. i32.load32_u.fail.wast
  61. i32.load64_s.fail.wast
  62. i32.load64_u.fail.wast
  63. i32.store32.fail.wast
  64. i32.store64.fail.wast
  65. i64.load64_s.fail.wast
  66. i64.load64_u.fail.wast
  67. i64.store64.fail.wast
  68. if.wast
  69. import-after-func.fail.wast
  70. import-after-global.fail.wast
  71. import-after-table.fail.wast
  72. imports.wast
  73. instance.wast
  74. LICENSE
  75. linking.wast
  76. linking0.wast
  77. loop.wast
  78. memory.wast
  79. memory64.wast
  80. multi-memories_size.wast
  81. multivalue.wast
  82. of_string-overflow-hex-u32.fail.wast
  83. of_string-overflow-hex-u64.fail.wast
  84. of_string-overflow-s32.fail.wast
  85. of_string-overflow-s64.fail.wast
  86. of_string-overflow-u32.fail.wast
  87. of_string-overflow-u64.fail.wast
  88. old_address.wast
  89. old_address64.wast
  90. old_exports.wast
  91. old_globals.wast
  92. old_import.wast
  93. old_int_literals.wast
  94. old_select.wast
  95. old_start.wast
  96. README.md
  97. ref.cast_desc_eq.wast
  98. ref.get_desc.wast
  99. ref_cast.wast
  100. ref_eq.wast
  101. ref_func.wast
  102. ref_is_null.wast
  103. ref_null.wast
  104. ref_test.wast
  105. relaxed-atomics.wast
  106. resizing.wast
  107. resizing64.wast
  108. return_call_eh-legacy.wast
  109. return_call_eh.wast
  110. return_call_indirect.wast
  111. select.wast
  112. set_local.wast
  113. shared-array.wast
  114. shared-i31.wast
  115. shared-polymorphism.wast
  116. shared-ref_eq.wast
  117. shared-structs.wast
  118. simd.wast
  119. store_retval.wast
  120. struct-upstream.wast
  121. struct.new_desc.wast
  122. struct.wast
  123. table.wast
  124. table_init.wast
  125. tag_linked.wast
  126. tags.wast
  127. tee_local.wast
  128. token.wast
  129. typecheck.wast
  130. typed_continuations.wast
  131. unreached-invalid.wast
  132. waitqueue.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]