wasmer/emtests
Syrus ae77811c4d Merge branch 'master' into fix/emscripten-env
# Conflicts:
#	build/emtests.rs
#	src/emtests/mod.rs
2018-12-21 16:58:41 -08:00
..
env.c Added emscripten env test 2018-12-11 21:32:53 -08:00
env.output Added emscripten env test 2018-12-11 21:32:53 -08:00
env.wasm Added emscripten env test 2018-12-11 21:32:53 -08: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.output Add Emscripten globals for Infinity and NaN to fix printf for these values 2018-12-16 14:00:43 -06:00
printf.wasm Add Emscripten globals for Infinity and NaN to fix printf for these values 2018-12-16 14:00:43 -06:00
puts.c Added emtests autogenerated tests 2018-12-10 18:42:23 -08:00
puts.output Added emtests autogenerated tests 2018-12-10 18:42:23 -08:00
puts.wasm Added emtests autogenerated tests 2018-12-10 18:42:23 -08:00
README.md Added emtests 2018-12-10 17:07:13 -08: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 to:

make emtests

This process will do something similar to:

cc localtime.c -o localtime.out
# Execute the out file and save its output
./localtime.out > ./localtime.output
rm localtime.out

# Generate the .wasm file
emcc localtime.c -o localtime.js
# Delte the js file, as we don't need it
rm localtime.js