wasmer/lib/emscripten-tests/emtests/README.md

24 lines
535 B
Markdown
Raw Normal View History

2018-12-07 22:55:55 +00:00
This directory contains tests for unit testing each of the functions/syscalls that Emscripten will be doing.
If you want to generate the wasm files, you will just need:
Have EMCC (version 1.38.21) installed
Then run:
2018-12-07 22:55:55 +00:00
```
2018-12-11 01:06:55 +00:00
make emtests
```
**Ignored Tests**
Test names included in `emtests/ignores.txt` will be annotated with `#[ignore]` during test generation.
2018-12-11 01:06:55 +00:00
This process will do something similar to:
```
# Generate the .wasm file
2018-12-07 22:55:55 +00:00
emcc localtime.c -o localtime.js
2019-01-14 21:28:00 +00:00
# Delete the js file, as we don't need it
2018-12-07 22:55:55 +00:00
rm localtime.js
```