Commit Graph

2640 Commits

Author SHA1 Message Date
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
d28b29ccc0 Fixed start function 2018-10-24 00:17:17 +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
3107dc10b1
Merge pull request #2 from WAFoundation/feature/table-working
call_indirect passes
2018-10-23 12:19:27 +02:00
Syrus Akbary
10eff5f3c3 Fixed slice public pointers 2018-10-23 11:55:54 +02:00
Syrus Akbary
6cb78439e3 Improved call indirect example 2018-10-23 11:49:38 +02:00
Syrus Akbary
138d5a6bf4 Restored integration tests back as it was before 2018-10-23 11:49:26 +02:00
Syrus Akbary
3f5091780d Improved formatting 2018-10-23 11:43:43 +02:00
Syrus Akbary
837e67999f Show result 2018-10-23 11:41:55 +02:00
Syrus Akbary
ba74488f7d Added call indirect example 2018-10-23 11:40:39 +02:00
Syrus Akbary
46742c9aaf Call indirect fully working 2018-10-23 11:40:17 +02:00
Syrus Akbary
a796056c5f Improved module docs 2018-10-23 11:09:57 +02:00
Syrus Akbary
81ab8951c9 Working fully with the context pointer 2018-10-23 01:52:03 +02:00
Syrus Akbary
975b106731 Improved pointers 2018-10-23 01:44:19 +02:00
Syrus Akbary
2a118930c2 Table now working properly 2018-10-23 01:15:18 +02:00
Syrus Akbary
037f76e3b1 Improved context data 2018-10-22 21:03:43 +02:00
Syrus Akbary
4ab26226f9 Revert "Improved function pointers"
This reverts commit a625382158.
2018-10-22 18:56:29 +02:00
Syrus Akbary
a625382158 Improved function pointers 2018-10-22 18:36:51 +02:00
Syrus Akbary
7444837d09 Moved memories, tables and globals to be Unchecked slices 2018-10-22 18:31:12 +02:00
Syrus Akbary
7e7d230441 Fixed main function generate context 2018-10-22 12:59:21 +02:00
Syrus Akbary
6c9087a73d Added set_local tests 2018-10-19 12:44:19 +02:00
Syrus Akbary
de620bad32 Improved travis script 2018-10-19 12:17:41 +02:00
Syrus Akbary
380e5417d9 Removed unnecessary dependency libffi 2018-10-19 11:46:07 +02:00
Syrus Akbary
baf5f516a3 Added Spectests README 2018-10-19 11:42:51 +02:00
Syrus Akbary
0624e7874e Spectests rust files should be ignored by rustfmt 2018-10-19 11:35:25 +02:00
Syrus Akbary
617b66aad7 Documented the relocation module 2018-10-19 11:31:10 +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
0e50e09fc6 Added f32/f64 br_if tests 2018-10-19 01:31:31 +02:00
Syrus Akbary
a932fef217 Added automatic test generator from wasm spec 2018-10-19 01:29:12 +02:00
Syrus Akbary
5c5fbd309d Fixed memory issues 2018-10-19 01:28:16 +02:00
Syrus Akbary
6fce21e4d5 Added first tests for the vmctx (memory usage) 2018-10-18 19:01:09 +02:00
Syrus Akbary
80f3bf161e Removed unnecesary function 2018-10-18 12:05:00 +02:00
Syrus Akbary
96f2440960 Added working mock for memory (grow and size) 2018-10-18 00:09:04 +02:00
Syrus Akbary
d86e372b8e Fixed README links 2018-10-17 17:21:11 +02:00
Syrus Akbary
6534939005 Make import object non optional 2018-10-17 17:14:35 +02:00
Syrus Akbary
ba050f35cc Improved wasmer script 2018-10-17 16:45:24 +02:00
Syrus Akbary
e97b47e147 Added ImportObject structure. Added integration tests 2018-10-17 16:08:51 +02:00
Syrus Akbary
ab58faa7b7 Improved README 2018-10-17 11:31:21 +02:00