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
6217b2defa
Added conversions spectest
2018-10-29 14:08:47 +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
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
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
1882aa8fd6
Added excute function debug print statements
2018-10-25 19:22:52 +02:00
Syrus Akbary
e9a968b4b0
Improved formatting
2018-10-24 02:01:46 +02:00
Syrus Akbary
c4b0261336
Added f64_cmp spectest
2018-10-24 02:00:59 +02:00
Syrus Akbary
3727d6e3de
Added f64_bitwise spectest
2018-10-24 01:57:37 +02:00
Syrus Akbary
0c6d76bbba
Added f32_cmp spectest
2018-10-24 01:55:08 +02:00
Syrus Akbary
36326007c5
Added f32_bitwise spectest. Improved f32, f64 NaN assertions
2018-10-24 01:51:52 +02:00
Syrus Akbary
f6a5bfaeee
Added f64 spectest
2018-10-24 01:22:16 +02:00
Syrus Akbary
e8e7111e3f
Added f32 spectest
2018-10-24 01:15:20 +02:00
Syrus Akbary
363fb9894f
Added exports spectest
2018-10-24 00:41:32 +02:00
Syrus Akbary
459be45480
Added data spectest
2018-10-24 00:27:15 +02:00
Syrus Akbary
a0a8e7512b
Added labels spectest
2018-10-24 00:25:11 +02:00
Syrus Akbary
a5da22aa64
Added break_drop spectest
2018-10-24 00:22:07 +02:00
Syrus Akbary
596c1ef72c
Added const spectest
2018-10-24 00:17:36 +02:00
Syrus Akbary
a3343a2ffb
Added i64 spectest
2018-10-24 00:04:30 +02:00
Syrus Akbary
c8acc46e1f
Formatted file
2018-10-24 00:02:35 +02:00
Syrus Akbary
1311057fd7
Added block spectest
2018-10-24 00:02:19 +02:00
Syrus Akbary
8b6b6152f4
Added br spectest
2018-10-23 23:58:13 +02:00
Syrus Akbary
98df45a7dd
Improved spectest generator
2018-10-23 23:54:07 +02:00
Syrus Akbary
6653eeca4f
Improved testing times by 5-10x
...
This is done via grouping of module/instance creation calls. This way the assert return calls are grouped to be tested in the same thread (therefore only one module creation is required rather than n=one for each test)
2018-10-23 15:43:44 +02:00
Syrus Akbary
8671025d97
Commented build_spectests file
2018-10-23 13:26:21 +02:00
Syrus Akbary
099b4ac1ac
Added func_ptrs spectests
2018-10-23 13:13:03 +02:00
Syrus Akbary
46742c9aaf
Call indirect fully working
2018-10-23 11:40:17 +02:00
Syrus Akbary
6c9087a73d
Added set_local tests
2018-10-19 12:44:19 +02:00
Syrus Akbary
f95863964d
Improved test banner
2018-10-19 11:31:02 +02:00
Syrus Akbary
76d9b2602e
Added spectests autogenerated banner
2018-10-19 02:18:01 +02:00
Syrus Akbary
da492d9cec
Improved build test script to only execute if necessary
2018-10-19 02:15:27 +02:00
Syrus Akbary
2953cf7836
Improved tests build script
2018-10-19 02:11:27 +02:00
Syrus Akbary
4029357d31
Added i32 tests
2018-10-19 01:44:48 +02:00
Syrus Akbary
a932fef217
Added automatic test generator from wasm spec
2018-10-19 01:29:12 +02:00