13 Commits

Author SHA1 Message Date
Syrus Akbary
6b75580749 Improved test assert_trap code using call_protected macro 2018-11-24 10:52:17 -08:00
Steve Akinyemi
df0feb9b7f Update spectests 2018-11-07 11:57:28 +01:00
Steve Akinyemi
ffe383e611 Add updated upstream tests 2018-11-07 11:56:37 +01:00
Steve Akinyemi
3a65bdbac5 Fix memory grow issues 2018-11-07 11:55:48 +01:00
Syrus Akbary
0045d263d2 Added support for assert_trap in spectests 2018-11-06 11:17:16 +01:00
Steve Akinyemi
0bde1c2d00 Fix assert_return_canonical_nan and assert_return_arithmetic__nan for tests 2018-11-02 10:03:44 +01:00
Syrus Akbary
d0ad33bdb9 Fixed support for non-deterministic NaNs
This got fixed by using f32,f64::from_bits rather than the canonical NaN representation
2018-10-30 13:28:00 +01:00
Syrus Akbary
0aa26455b7 Automatically start modules first. Documented SKIP_MUTABLE_GLOBALS case 2018-10-29 23:40:20 +01:00
Syrus Akbary
beafb5035c Allow multiple commands per spectest line 2018-10-29 15:18:16 +01: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
f95863964d Improved test banner 2018-10-19 11:31:02 +02:00
Syrus Akbary
a932fef217 Added automatic test generator from wasm spec 2018-10-19 01:29:12 +02:00