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