Permalink
..
Failed to load latest commit information.
.gitignore Move test suite to toplevel test dir (#406) Jan 20, 2017
README.md Move test suite to toplevel test dir (#406) Jan 20, 2017
address.wast [test] Enhance test coverage of address.wast (#832) Jul 9, 2018
align.wast [test] Add test to cover one checkpoint in Todo.md (#834) Jul 17, 2018
binary.wast [test/interpreter] Check for max number of locals (#825) Jun 18, 2018
block.wast [test] Add more type mismatch tests for block construct (#835) Jul 15, 2018
br.wast [spec] Rename memory instructions (#720) Apr 4, 2018
br_if.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
br_table.wast [spec] Rename memory instructions (#720) Apr 4, 2018
break-drop.wast Move test suite to toplevel test dir (#406) Jan 20, 2017
call.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
call_indirect.wast [interpreter] match spec style of implementing return (#658) Jan 30, 2018
comments.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
const.wast [spec] Specify numeric semantics (#490) Jun 8, 2017
conversions.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
custom.wast [interpreter] Catch negative skip in decoder (#698) Feb 16, 2018
data.wast [spec/interpreter] Correct and test segment offset syntax (#663) Feb 14, 2018
elem.wast [spec/interpreter] Correct and test segment offset syntax (#663) Feb 14, 2018
endianness.wast Move test suite to toplevel test dir (#406) Jan 20, 2017
exports.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
f32.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
f32_bitwise.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
f32_cmp.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
f64.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
f64_bitwise.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
f64_cmp.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
fac.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
float_exprs.wast Miscellanous floating-point and unicode tests (#807) Jul 18, 2018
float_literals.wast Miscellanous floating-point and unicode tests (#807) Jul 18, 2018
float_memory.wast Move test suite to toplevel test dir (#406) Jan 20, 2017
float_misc.wast Miscellanous floating-point and unicode tests (#807) Jul 18, 2018
forward.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
func.wast [interpreter/test] Allow typeuse syntax for call_indirect (#602) Nov 10, 2017
func_ptrs.wast Rename spectest imports to avoid depending on overloading. (#652) Feb 6, 2018
get_local.wast Move test suite to toplevel test dir (#406) Jan 20, 2017
globals.wast Merge mutable global proposal into spec (#814) Jun 6, 2018
i32.wast Several more tests. (#452) Apr 4, 2017
i64.wast Several more tests. (#452) Apr 4, 2017
if.wast [interpreter] Support quoted module definitions in .wast (#475) Jun 6, 2017
imports.wast [spec] Rename memory instructions (#720) Apr 4, 2018
inline-module.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
int_exprs.wast Several more tests. (#452) Apr 4, 2017
int_literals.wast [spec/test/interpreter] Allow underscores in numbers (#527) Jul 25, 2017
labels.wast Test the difference between label and result types in a loop (#610) Jan 31, 2018
left-to-right.wast [interpreter/test] Allow typeuse syntax for call_indirect (#602) Nov 10, 2017
linking.wast Merge mutable global proposal into spec (#814) Jun 6, 2018
loop.wast [interpreter] Support quoted module definitions in .wast (#475) Jun 6, 2017
memory.wast [test] Add tests for Alignment (#822) Jul 9, 2018
memory_grow.wast [test] Grow memory and verify that new allocated byte is zero (#808) Jul 9, 2018
memory_redundancy.wast More tests (#447) Mar 28, 2017
memory_trap.wast [spec] Rename memory instructions (#720) Apr 4, 2018
names.wast Miscellanous floating-point and unicode tests (#807) Jul 18, 2018
nop.wast [spec] Rename memory instructions (#720) Apr 4, 2018
return.wast [spec] Rename memory instructions (#720) Apr 4, 2018
run.py Remove expected output (#498) Jun 26, 2017
select.wast Fix type checker's peek function (#424) Feb 15, 2017
set_local.wast Move test suite to toplevel test dir (#406) Jan 20, 2017
skip-stack-guard-page.wast Move test suite to toplevel test dir (#406) Jan 20, 2017
stack.wast [interpreter] Fix flat call_indirect parsing (#738) Mar 3, 2018
start.wast Rename spectest imports to avoid depending on overloading. (#652) Feb 6, 2018
store_retval.wast Move test suite to toplevel test dir (#406) Jan 20, 2017
switch.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
tee_local.wast Move test suite to toplevel test dir (#406) Jan 20, 2017
token.wast [interpreter] Support quoted module definitions in .wast (#475) Jun 6, 2017
traps.wast Add test in traps.wast (#510) Jun 20, 2017
type.wast [test] Remove unnecessary quoting (#504) Jun 13, 2017
typecheck.wast [spec] Rename memory instructions (#720) Apr 4, 2018
unreachable.wast [spec] Rename memory instructions (#720) Apr 4, 2018
unreached-invalid.wast [test] Add type-br_if-after-unreachable test (#756) Mar 20, 2018
unwind.wast [spec/interpreter] Specify text format and adapt interpreter (#471) Jun 1, 2017
utf8-custom-section-id.wast [interpreter] Support quoted module definitions in .wast (#475) Jun 6, 2017
utf8-import-field.wast [interpreter] Support quoted module definitions in .wast (#475) Jun 6, 2017
utf8-import-module.wast [interpreter] Support quoted module definitions in .wast (#475) Jun 6, 2017
utf8-invalid-encoding.wast Add tests for invalid UTF-8 encoding in the text format (#474) Oct 13, 2017

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.