Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
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 [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
align.wast
binary.wast
block.wast [test] More tests for missing operands -Part3 (#971) Feb 21, 2019
br.wast
br_if.wast
br_table.wast
break-drop.wast
call.wast [test] More tests for missing operands -Part3 (#971) Feb 21, 2019
call_indirect.wast
comments.wast
const.wast [spec] Specify numeric semantics (#490) Jun 8, 2017
conversions.wast
custom.wast
data.wast
elem.wast
endianness.wast [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
exports.wast [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
f32.wast
f32_bitwise.wast
f32_cmp.wast [test] Move tests in typecheck.wast to appropriate files (#973) Feb 22, 2019
f64.wast
f64_bitwise.wast [test] Move tests in typecheck.wast to appropriate files (#973) Feb 22, 2019
f64_cmp.wast
fac.wast
float_exprs.wast [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
float_literals.wast
float_memory.wast
float_misc.wast [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
forward.wast
func.wast
func_ptrs.wast [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
globals.wast
i32.wast
i64.wast
if.wast
imports.wast
inline-module.wast
int_exprs.wast
int_literals.wast [spec/test/interpreter] Allow underscores in numbers (#527) Jul 25, 2017
labels.wast [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
left-to-right.wast [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
linking.wast
load.wast
local_get.wast
local_set.wast
local_tee.wast [test] Add more tests for operand missing (#948) Jan 23, 2019
loop.wast
memory.wast
memory_grow.wast [test] Move tests in typecheck.wast to appropriate files (#973) Feb 22, 2019
memory_redundancy.wast
memory_trap.wast [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
names.wast
nop.wast [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
return.wast
run.py
select.wast
skip-stack-guard-page.wast
stack.wast
start.wast Rename spectest imports to avoid depending on overloading. (#652) Feb 6, 2018
store.wast
switch.wast
token.wast [interpreter] Support quoted module definitions in .wast (#475) Jun 6, 2017
traps.wast Fix some test function names that got out of sync with the recent ins… Feb 11, 2019
type.wast
unreachable.wast
unreached-invalid.wast [spec/interpreter/tests] Rename instructions (#926) Dec 6, 2018
unwind.wast
utf8-custom-section-id.wast
utf8-import-field.wast [interpreter] Support quoted module definitions in .wast (#475) Jun 6, 2017
utf8-import-module.wast
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.

You can’t perform that action at this time.