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