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