mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-14 14:45:40 +00:00
.. | ||
env.c | ||
env.out | ||
env.wasm | ||
localtime.c | ||
localtime.wasm | ||
printf.c | ||
printf.out | ||
printf.wasm | ||
puts.c | ||
puts.out | ||
puts.wasm | ||
README.md |
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:
make emtests
Ignored Tests
Test names included in emtests/ignores.txt
will be annotated with #[ignore]
during test generation.
This process will do something similar to:
# Generate the .wasm file
emcc localtime.c -o localtime.js
# Delte the js file, as we don't need it
rm localtime.js