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