Commit Graph

3000 Commits

Author SHA1 Message Date
Syrus Akbary
e8b67d2e65 Added func spectests 2018-10-30 00:39:26 +01:00
Syrus Akbary
266ff13764 Added comments spectests 2018-10-30 00:34:46 +01:00
Syrus Akbary
ef345a5b45 Added binary spectests 2018-10-30 00:32:53 +01:00
Syrus Akbary
647e749633 Improved spectests/README instructions 2018-10-30 00:31:24 +01:00
Syrus Akbary
44d70a615e Added start spectests 2018-10-29 23:44:43 +01:00
Syrus Akbary
0aa26455b7 Automatically start modules first. Documented SKIP_MUTABLE_GLOBALS case 2018-10-29 23:40:20 +01:00
Syrus Akbary
df35bb5e06 Added if_ spectests 2018-10-29 16:16:39 +01:00
Syrus Akbary
4b79b3e670 Improved spectests README 2018-10-29 15:38:02 +01:00
Syrus Akbary
49ca36435d Merge branch 'master' into tests/add-more-spectests
# Conflicts:
#	src/build_spectests.rs
#	src/spectests/mod.rs
#	src/spectests/switch.rs
#	src/spectests/tee_local.rs
2018-10-29 15:31:38 +01:00
Syrus Akbary
77457ea116 Added left_to_right spectests 2018-10-29 15:18:57 +01:00
Syrus Akbary
beafb5035c Allow multiple commands per spectest line 2018-10-29 15:18:16 +01:00
Steve Akinyemi
91bd5b27ba Add more wasm spectests 2018-10-29 14:36:26 +01:00
Syrus Akbary
2357f0ed13 Added memory_redundancy spectests 2018-10-29 14:33:36 +01:00
Syrus Akbary
572aa89bff Added support for PerformAction spectest command 2018-10-29 14:33:00 +01:00
Syrus Akbary
de8a93e30d Added loop spectests 2018-10-29 14:17:46 +01:00
Syrus Akbary
a14c735042 Improved spectests README 2018-10-29 14:10:42 +01:00
Syrus Akbary
6217b2defa Added conversions spectest 2018-10-29 14:08:47 +01:00
Syrus Akbary
b519dc043e Improved documentation for manually skipped spec cases 2018-10-29 14:08:14 +01:00
Syrus Akbary
f9550c845c Added tee_local spectest 2018-10-29 13:27:52 +01:00
Syrus Akbary
c29a41f48f Added get_local spectests 2018-10-29 13:23:56 +01:00
Syrus Akbary
33b8757e90 Get env printf basic example working 2018-10-29 12:29:44 +01:00
Syrus Akbary
c97312345e Test 'tee_local' and 'set_global' in more operators
Based on this commit from the WebAssembly spec tests: c90bc9686f
2018-10-29 09:53:48 +01:00
Syrus Akbary
d772cacc98 Fixed globals to a correct func pointer. Added globals spectest
Also fixed f32, f64 to i64 conversion (from mem::transmute to byte type casting)
2018-10-28 21:50:57 +01:00
Syrus Akbary
c9725ecb8b Added stack spectest 2018-10-28 14:05:52 +01:00
Syrus Akbary
f4ce2c72ba Added switch spectest 2018-10-28 13:59:06 +01:00
Syrus Akbary
b94049f949 Fixed heap reference to memory. Added address spectest 2018-10-27 13:33:08 +02:00
Syrus Akbary
0e1dc88d9c Improved call_indirect tests and instance error message on mutable memories 2018-10-26 15:14:51 +02:00
Syrus Akbary
79506c4983 Make align partially pass 2018-10-26 14:53:33 +02:00
Syrus Akbary
6c18701f9d Improved tests to use a common vm_context for same modules 2018-10-26 12:49:29 +02:00
Syrus Akbary
d32422c2be Improved memory access to use the vm_context 2018-10-26 12:49:02 +02:00
Syrus Akbary
674c62aad5 Fixed tempdir dependency issue with Crates 2018-10-26 00:43:00 +02:00
Syrus Akbary
b5590c21a3 Improved Cargo package licensing & description 2018-10-26 00:43:00 +02:00
Syrus Akbary
d380eede4d Make wasmer publishable 2018-10-26 00:43:00 +02:00
Syrus Akbary
9d02cef0c2 Improved cargo packaging 2018-10-26 00:43:00 +02:00
Syrus Akbary
1882aa8fd6 Added excute function debug print statements 2018-10-25 19:22:52 +02:00
Syrus Akbary
ca6050e18b Fixed instantiate_streaming references 2018-10-24 12:36:43 +02:00
Syrus Akbary
dfa50ddc53 Remove unused code 2018-10-24 12:35:54 +02:00
Syrus Akbary
dac7e50667 Improved Readme 2018-10-24 12:07:52 +02:00
Syrus Akbary
d4a21c0343 Added unimplemented instantiateStreaming function 2018-10-24 11:56:42 +02:00
Syrus Akbary
6db2d9f696 Documented the import module 2018-10-24 11:54:06 +02:00
Syrus Akbary
fe9fb9fe42 Improved memory documentation 2018-10-24 11:47:12 +02:00
Syrus Akbary
bcad000cc2 Improved utility functions docs 2018-10-24 11:44:33 +02:00
Syrus Akbary
1c6f677a78 Cleanup “module” module 2018-10-24 11:43:18 +02:00
Syrus Akbary
67b0d156a3 Refactored relocation code 2018-10-24 11:39:00 +02:00
Syrus Akbary
43788589d0 Commented cargo bench for now 2018-10-24 02:53:33 +02:00
Syrus Akbary
76850eed96 Fixed grow_memory function 2018-10-24 02:32:06 +02:00
Syrus Akbary
d797808d4b Improved Instance docs and removed unused code 2018-10-24 02:17:05 +02:00
Syrus Akbary
e9a968b4b0 Improved formatting 2018-10-24 02:01:46 +02:00
Syrus Akbary
48f7c46020 Set spectests to be only imported in testing 2018-10-24 02:01:16 +02:00
Syrus Akbary
c4b0261336 Added f64_cmp spectest 2018-10-24 02:00:59 +02:00