summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-29 13:01:03 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-29 13:03:46 -0700
commitd455c96f4d4b6289c6a75dd918d138de5129ef04 (patch)
treee1e181ca8b4b6cc90c020a66df338be36f5459c1 /README.md
parent4fbd4f442a899e1c87cb1a60f52916339d42534c (diff)
downloadbinaryen-d455c96f4d4b6289c6a75dd918d138de5129ef04.tar.gz
binaryen-d455c96f4d4b6289c6a75dd918d138de5129ef04.tar.bz2
binaryen-d455c96f4d4b6289c6a75dd918d138de5129ef04.zip
add testing
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index b702cecef..2c2914b89 100644
--- a/README.md
+++ b/README.md
@@ -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.