tree: 4f65d126f1784e0ef2d8c462d62e0f5da4d4716f [path history] [tgz]
  1. .gitignore
  2. address.wast
  3. align.wast
  4. binary.wast
  5. block.wast
  6. br.wast
  7. br_if.wast
  8. br_table.wast
  9. break-drop.wast
  10. call.wast
  11. call_indirect.wast
  12. const.wast
  13. conversions.wast
  14. custom.wast
  15. data.wast
  16. elem.wast
  17. endianness.wast
  18. exports.wast
  19. f32.wast
  20. f32_bitwise.wast
  21. f32_cmp.wast
  22. f64.wast
  23. f64_bitwise.wast
  24. f64_cmp.wast
  25. fac.wast
  26. float_exprs.wast
  27. float_literals.wast
  28. float_memory.wast
  29. float_misc.wast
  30. forward.wast
  31. func.wast
  32. func_ptrs.wast
  33. get_local.wast
  34. globals.wast
  35. i32.wast
  36. i64.wast
  37. if.wast
  38. imports.wast
  39. inline-module.wast
  40. int_exprs.wast
  41. int_literals.wast
  42. labels.wast
  43. left-to-right.wast
  44. linking.wast
  45. load.wast
  46. loop.wast
  47. memory.wast
  48. memory_grow.wast
  49. memory_redundancy.wast
  50. memory_trap.wast
  51. names.wast
  52. nop.wast
  53. README.md
  54. return.wast
  55. run.py
  56. select.wast
  57. set_local.wast
  58. skip-stack-guard-page.wast
  59. stack.wast
  60. start.wast
  61. store.wast
  62. switch.wast
  63. tee_local.wast
  64. token.wast
  65. traps.wast
  66. type.wast
  67. typecheck.wast
  68. unreachable.wast
  69. unreached-invalid.wast
  70. unwind.wast
  71. utf8-custom-section-id.wast
  72. utf8-import-field.wast
  73. utf8-import-module.wast
  74. utf8-invalid-encoding.wast
test/WasmSpec/testsuite/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.