tree: 4b716a7abb5cfa913f2fd0c19661fcc342a74fbd [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. exception-handling-legacy.wast
  36. exception-handling.wast
  37. f16.wast
  38. f32.load32.fail.wast
  39. f32.load64.fail.wast
  40. f32.store32.fail.wast
  41. f32.store64.fail.wast
  42. f32.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. fac.wast
  49. float_exprs.wast
  50. float_misc.wast
  51. func-local-after-body.fail.wast
  52. func-local-before-param.fail.wast
  53. func-local-before-result.fail.wast
  54. func-param-after-body.fail.wast
  55. func-result-after-body.fail.wast
  56. func-result-before-param.fail.wast
  57. func.wast
  58. get_local.wast
  59. globals.wast
  60. i31.wast
  61. i32.load32_s.fail.wast
  62. i32.load32_u.fail.wast
  63. i32.load64_s.fail.wast
  64. i32.load64_u.fail.wast
  65. i32.store32.fail.wast
  66. i32.store64.fail.wast
  67. i64.load64_s.fail.wast
  68. i64.load64_u.fail.wast
  69. i64.store64.fail.wast
  70. if.wast
  71. import-after-func.fail.wast
  72. import-after-global.fail.wast
  73. import-after-table.fail.wast
  74. imports.wast
  75. LICENSE
  76. linking.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.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. resizing.wast
  106. resizing64.wast
  107. return_call_eh-legacy.wast
  108. return_call_eh.wast
  109. return_call_indirect.wast
  110. select.wast
  111. set_local.wast
  112. shared-array.wast
  113. shared-i31.wast
  114. shared-polymorphism.wast
  115. shared-ref_eq.wast
  116. shared-structs.wast
  117. simd.wast
  118. store_retval.wast
  119. struct.new-desc.wast
  120. struct.wast
  121. table.wast
  122. table_init.wast
  123. tag_linked.wast
  124. tags.wast
  125. tee_local.wast
  126. token.wast
  127. typecheck.wast
  128. typed_continuations.wast
  129. 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]