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