tree: cae30004aa0dd9b5ca83db9f9fdf9fa5fe8491be
  1. gc/
  2. multi-memory/
  3. relaxed-simd/
  4. simd/
  5. .gitignore
  6. address.wast
  7. align.wast
  8. annotations.wast
  9. binary-leb128.wast
  10. binary.wast
  11. block.wast
  12. br.wast
  13. br_if.wast
  14. br_on_non_null.wast
  15. br_on_null.wast
  16. br_table.wast
  17. bulk.wast
  18. call.wast
  19. call_indirect.wast
  20. call_ref.wast
  21. comments.wast
  22. const.wast
  23. conversions.wast
  24. custom.wast
  25. data.wast
  26. elem.wast
  27. endianness.wast
  28. exports.wast
  29. f32.wast
  30. f32_bitwise.wast
  31. f32_cmp.wast
  32. f64.wast
  33. f64_bitwise.wast
  34. f64_cmp.wast
  35. fac.wast
  36. float_exprs.wast
  37. float_literals.wast
  38. float_memory.wast
  39. float_misc.wast
  40. forward.wast
  41. func.wast
  42. func_ptrs.wast
  43. global.wast
  44. i32.wast
  45. i64.wast
  46. id.wast
  47. if.wast
  48. imports.wast
  49. inline-module.wast
  50. instance.wast
  51. int_exprs.wast
  52. int_literals.wast
  53. labels.wast
  54. left-to-right.wast
  55. linking.wast
  56. load.wast
  57. local_get.wast
  58. local_init.wast
  59. local_set.wast
  60. local_tee.wast
  61. loop.wast
  62. memory-multi.wast
  63. memory.wast
  64. memory_copy.wast
  65. memory_fill.wast
  66. memory_grow.wast
  67. memory_init.wast
  68. memory_redundancy.wast
  69. memory_size.wast
  70. memory_trap.wast
  71. names.wast
  72. nop.wast
  73. obsolete-keywords.wast
  74. README.md
  75. ref.wast
  76. ref_as_non_null.wast
  77. ref_func.wast
  78. ref_is_null.wast
  79. ref_null.wast
  80. return.wast
  81. return_call.wast
  82. return_call_indirect.wast
  83. return_call_ref.wast
  84. run.py
  85. select.wast
  86. skip-stack-guard-page.wast
  87. stack.wast
  88. start.wast
  89. store.wast
  90. switch.wast
  91. table-sub.wast
  92. table.wast
  93. table_copy.wast
  94. table_fill.wast
  95. table_get.wast
  96. table_grow.wast
  97. table_init.wast
  98. table_set.wast
  99. table_size.wast
  100. tag.wast
  101. throw.wast
  102. throw_ref.wast
  103. token.wast
  104. traps.wast
  105. try_table.wast
  106. type-canon.wast
  107. type-equivalence.wast
  108. type-rec.wast
  109. type.wast
  110. unreachable.wast
  111. unreached-invalid.wast
  112. unreached-valid.wast
  113. unwind.wast
  114. utf8-custom-section-id.wast
  115. utf8-import-field.wast
  116. utf8-import-module.wast
  117. utf8-invalid-encoding.wast
test/core/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.

The test suite can be run with the spec interpreter as follows:

./run.py --wasm <path-to-wasm-interpreter>

where the path points to the spec interpreter executable (or a tool that understands similar options). If the binary is in the working directory, this option can be omitted.

In addition, the option --js <path-to-js-interpreter> can be given to point to a stand-alone JavaScript interpreter supporting the WebAssembly API. If provided, all tests are also executed in JavaScript.