wasmer/emtests
2018-12-27 01:43:38 -06:00
..
env.c Improved emtests env test 2018-12-21 17:19:08 -08:00
env.out Update emtests to glob for c/cpp files, use ignores.txt to exclude tests, disable cc out by default 2018-12-27 01:43:38 -06:00
env.wasm Update emtests to glob for c/cpp files, use ignores.txt to exclude tests, disable cc out by default 2018-12-27 01:43:38 -06:00
localtime.c Added basic emscripten tests 2018-12-09 17:50:53 -08:00
localtime.wasm Added basic emscripten tests 2018-12-09 17:50:53 -08:00
printf.c Add Emscripten globals for Infinity and NaN to fix printf for these values 2018-12-16 14:00:43 -06:00
printf.out Update emtests to glob for c/cpp files, use ignores.txt to exclude tests, disable cc out by default 2018-12-27 01:43:38 -06:00
printf.wasm Update emtests to glob for c/cpp files, use ignores.txt to exclude tests, disable cc out by default 2018-12-27 01:43:38 -06:00
puts.c Added emtests autogenerated tests 2018-12-10 18:42:23 -08:00
puts.out Update emtests to glob for c/cpp files, use ignores.txt to exclude tests, disable cc out by default 2018-12-27 01:43:38 -06:00
puts.wasm Update emtests to glob for c/cpp files, use ignores.txt to exclude tests, disable cc out by default 2018-12-27 01:43:38 -06:00
README.md Update emtests to glob for c/cpp files, use ignores.txt to exclude tests, disable cc out by default 2018-12-27 01:43:38 -06: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:

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