Bug 1248555: Import wast test JS runners; r=mbx
authorBenjamin Bouvier <benj@benj.me>
Thu, 02 Jun 2016 13:08:27 +0200
changeset 300899 7458396bf2c975cf871c554da90d86bf7bcb7da3
parent 300898 926f11001e01b01ef7969a6fe836aa20ea775104
child 300900 9ae97cdfb6fc1419a0a0d5d2aabf0c6133c99e38
push id19599
push usercbook@mozilla.com
push dateWed, 08 Jun 2016 10:16:21 +0000
treeherderfx-team@81f4cc3f6f4c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbx
bugs1248555
milestone50.0a1
Bug 1248555: Import wast test JS runners; r=mbx MozReview-Commit-ID: 1anzFgd12Hm
js/src/jit-test/tests/wasm/spec/address.wast.js
js/src/jit-test/tests/wasm/spec/binary.wast.js
js/src/jit-test/tests/wasm/spec/block.wast.js
js/src/jit-test/tests/wasm/spec/block_comments.wast.js
js/src/jit-test/tests/wasm/spec/break-drop.wast.js
js/src/jit-test/tests/wasm/spec/conversions.wast.js
js/src/jit-test/tests/wasm/spec/endianness.wast.js
js/src/jit-test/tests/wasm/spec/exports.wast.js
js/src/jit-test/tests/wasm/spec/f32.wast.js
js/src/jit-test/tests/wasm/spec/f32_cmp.wast.js
js/src/jit-test/tests/wasm/spec/f64.wast.js
js/src/jit-test/tests/wasm/spec/f64_cmp.wast.js
js/src/jit-test/tests/wasm/spec/fac.wast.js
js/src/jit-test/tests/wasm/spec/float_exprs.wast.js
js/src/jit-test/tests/wasm/spec/float_literals.wast.js
js/src/jit-test/tests/wasm/spec/float_memory.wast.js
js/src/jit-test/tests/wasm/spec/float_misc.wast.js
js/src/jit-test/tests/wasm/spec/forward.wast.js
js/src/jit-test/tests/wasm/spec/func_ptrs.wast.js
js/src/jit-test/tests/wasm/spec/functions.wast.js
js/src/jit-test/tests/wasm/spec/i32.wast.js
js/src/jit-test/tests/wasm/spec/i64.wast.js
js/src/jit-test/tests/wasm/spec/imports.wast.js
js/src/jit-test/tests/wasm/spec/int_exprs.wast.js
js/src/jit-test/tests/wasm/spec/int_literals.wast.js
js/src/jit-test/tests/wasm/spec/labels.wast.js
js/src/jit-test/tests/wasm/spec/left-to-right.wast.js
js/src/jit-test/tests/wasm/spec/memory.wast.js
js/src/jit-test/tests/wasm/spec/memory_redundancy.wast.js
js/src/jit-test/tests/wasm/spec/memory_trap.wast.js
js/src/jit-test/tests/wasm/spec/names.wast.js
js/src/jit-test/tests/wasm/spec/nan-propagation.wast.js
js/src/jit-test/tests/wasm/spec/resizing.wast.js
js/src/jit-test/tests/wasm/spec/runaway-recursion.wast.js
js/src/jit-test/tests/wasm/spec/select.wast.js
js/src/jit-test/tests/wasm/spec/start.wast.js
js/src/jit-test/tests/wasm/spec/store_retval.wast.js
js/src/jit-test/tests/wasm/spec/switch.wast.js
js/src/jit-test/tests/wasm/spec/traps.wast.js
js/src/jit-test/tests/wasm/spec/unreachable.wast.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/address.wast.js
@@ -0,0 +1,4 @@
+// |jit-test| exitstatus:3
+// TODO: wrapping offsets. Fails in WasmIonCompile, which only way to signal an
+// error is OOMing, thus we signal a fake oom here.
+var importedArgs = ['address.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/binary.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO: binary text format.
+var importedArgs = ['binary.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/block.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['block.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/block_comments.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['block_comments.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/break-drop.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['break-drop.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/conversions.wast.js
@@ -0,0 +1,3 @@
+// TODO: custom NaN
+quit();
+var importedArgs = ['conversions.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/endianness.wast.js
@@ -0,0 +1,3 @@
+// TODO: i64 load/store
+quit();
+var importedArgs = ['endianness.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/exports.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO: real memory exports.
+var importedArgs = ['exports.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/f32.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO: custom NaN payloads
+var importedArgs = ['f32.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/f32_cmp.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO: custom NaN payloads
+var importedArgs = ['f32_cmp.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/f64.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO: custom NaN payloads
+var importedArgs = ['f64.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/f64_cmp.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO: custom NaN payloads
+var importedArgs = ['f64_cmp.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/fac.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['fac.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/float_exprs.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO: custom NaN payloads
+var importedArgs = ['float_exprs.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/float_literals.wast.js
@@ -0,0 +1,3 @@
+// TODO: custom NaN payloads
+quit();
+var importedArgs = ['float_literals.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/float_memory.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO i64 load/store
+var importedArgs = ['float_memory.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/float_misc.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO: custom NaN payloads
+var importedArgs = ['float_misc.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/forward.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['forward.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/func_ptrs.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO Pass the table index in the error message?
+var importedArgs = ['func_ptrs.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/functions.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['functions.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/i32.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['i32.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/i64.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['i64.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/imports.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['imports.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/int_exprs.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['int_exprs.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/int_literals.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['int_literals.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/labels.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO br_if not typed with its br value
+var importedArgs = ['labels.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/left-to-right.wast.js
@@ -0,0 +1,3 @@
+// TODO i64 loads/stores.
+quit();
+var importedArgs = ['left-to-right.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/memory.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO unaligned memory accesses
+var importedArgs = ['memory.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/memory_redundancy.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['memory_redundancy.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/memory_trap.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO current_memory opcode + traps on OOB
+var importedArgs = ['memory_trap.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/names.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['names.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/nan-propagation.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO custom NaN
+var importedArgs = ['nan-propagation.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/resizing.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO memory resizing (you don't say)
+var importedArgs = ['resizing.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/runaway-recursion.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['runaway-recursion.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/select.wast.js
@@ -0,0 +1,3 @@
+// TODO custom NaN
+quit();
+var importedArgs = ['select.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/start.wast.js
@@ -0,0 +1,3 @@
+// |jit-test| error:Error
+// TODO start opcode
+var importedArgs = ['start.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/store_retval.wast.js
@@ -0,0 +1,3 @@
+// TODO i64 loads/stores
+quit();
+var importedArgs = ['store_retval.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/switch.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['switch.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/traps.wast.js
@@ -0,0 +1,3 @@
+// TODO trap on OOB
+quit();
+var importedArgs = ['traps.wast']; load(scriptdir + '../spec.js');
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/spec/unreachable.wast.js
@@ -0,0 +1,1 @@
+var importedArgs = ['unreachable.wast']; load(scriptdir + '../spec.js');