Commit Graph

73 Commits

Author SHA1 Message Date
Syrus Akbary
9f561db90b Added support for global value offsets
This commit depends on this PR landing on cranelift:
https://github.com/CraneStation/cranelift/pull/612
2018-11-18 20:22:18 -08:00
Syrus Akbary
d01a10d810 Added memory_grow spectest 2018-11-18 11:13:20 -08:00
Syrus Akbary
fd8feedb51 Added token spectests 2018-11-17 00:06:15 -08:00
Syrus Akbary
c5c033c02b Added traps spectests 2018-11-17 00:06:05 -08:00
Steve Akinyemi
df482667aa Fix table and memory import and improve memory storage 2018-11-16 16:55:49 +01:00
Steve Akinyemi
02ab2fe603 Update spectests 2018-11-07 11:56:37 +01:00
Steve Akinyemi
b8b4038be7 Update tests readme 2018-11-07 11:56:37 +01:00
Syrus Akbary
0045d263d2 Added support for assert_trap in spectests 2018-11-06 11:17:16 +01:00
Syrus Akbary
b1d6f35020 Deleted unused spectest inline_module 2018-11-02 11:39:56 +01:00
Syrus Akbary
3c092e0aac Updated spectests README
AssertReturnCanonicalNan and AssertReturnArithmeticNan are now implemented
2018-11-02 11:39:47 +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
82ac069c57 Added typecheck spectests 2018-10-30 12:25:31 +01:00
Syrus Akbary
c3849f44f5 Added store_retval spectests 2018-10-30 12:23:37 +01:00
Syrus Akbary
30c86e4525 Add stack to spectests README 2018-10-30 12:21:03 +01:00
Syrus Akbary
2a53858951 Added nop spectests 2018-10-30 12:19:45 +01:00
Syrus Akbary
ca6bc6b3b4 Added int_literals spectests 2018-10-30 12:15:47 +01:00
Syrus Akbary
13e9a7c9f5 Added int_exprs spectests 2018-10-30 12:13:15 +01:00
Syrus Akbary
17519d8cd7 Added forward spectests 2018-10-30 12:10:48 +01:00
Syrus Akbary
c9b6ee5a97 Added float_misc spectests 2018-10-30 12:09:07 +01:00
Syrus Akbary
d7f2dbb352 Added float_memory spectests 2018-10-30 12:07:00 +01:00
Syrus Akbary
43f0d7594f Added custom spectests 2018-10-30 12:05:00 +01:00
Syrus Akbary
25c90856e5 Added float_exprs spectests 2018-10-30 12:02:50 +01:00
Syrus Akbary
0cb3c9365f Added fac spectests 2018-10-30 11:59:51 +01:00
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
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
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