diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-10-29 13:01:03 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-10-29 13:03:46 -0700 |
commit | d455c96f4d4b6289c6a75dd918d138de5129ef04 (patch) | |
tree | e1e181ca8b4b6cc90c020a66df338be36f5459c1 /README.md | |
parent | 4fbd4f442a899e1c87cb1a60f52916339d42534c (diff) | |
download | binaryen-d455c96f4d4b6289c6a75dd918d138de5129ef04.tar.gz binaryen-d455c96f4d4b6289c6a75dd918d138de5129ef04.tar.bz2 binaryen-d455c96f4d4b6289c6a75dd918d138de5129ef04.zip |
add testing
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -39,6 +39,14 @@ Limitations: * WebAssembly lacks global variables, so `asm2wasm` maps them onto addresses in memory. This requires that you have some reserved space for those variables. You can do that with `emcc -s GLOBAL_BASE=1000`. We still need to write the code to copy the globals there. * Emscripten emits asm.js and JavaScript, that work together using web APIs to do things like print, render, etc. Not sure if there is a way to test that full output yet. +## Testing + +``` +./check.py +``` + +(or `python check.py`) will run `asm2wasm` on the testcases in `test/`, and verify their outputs. + ## License & Contributing Same as Emscripten: MIT license. This code is sync'ed with Emscripten's repo. |