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