summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/spec/conversions.txt2
-rw-r--r--test/spec/exports.txt8
-rw-r--r--test/spec/fac.txt2
-rw-r--r--test/spec/float32.txt2
-rw-r--r--test/spec/forward.txt2
-rw-r--r--test/spec/hexnum.txt2
-rw-r--r--test/spec/i32.txt2
-rw-r--r--test/spec/i64.txt2
-rw-r--r--test/spec/imports.txt2
-rw-r--r--test/spec/memory.txt24
-rw-r--r--test/spec/memory_trap.txt2
-rw-r--r--test/spec/switch.txt2
-rw-r--r--test/spec/unsigned.txt4
13 files changed, 26 insertions, 30 deletions
diff --git a/test/spec/conversions.txt b/test/spec/conversions.txt
index baabe37c..3d8c5646 100644
--- a/test/spec/conversions.txt
+++ b/test/spec/conversions.txt
@@ -1,4 +1,4 @@
# SKIP: ExprI64SConvertF32 is unimplemented in v8-native-prototype
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/conversions.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/conversions.wase
diff --git a/test/spec/exports.txt b/test/spec/exports.txt
index f7d84da6..ed29c87b 100644
--- a/test/spec/exports.txt
+++ b/test/spec/exports.txt
@@ -1,14 +1,14 @@
# SKIP: leaks memory when function is exported twice with different names
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/exports.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/exports.wase
# STDOUT:
assert_invalid error:
- third_party/spec/ml-proto/test/exports.wasm:5:44: function variable out of range (max 1)
+ third_party/spec/ml-proto/test/exports.wase:5:44: function variable out of range (max 1)
assert_invalid error:
- third_party/spec/ml-proto/test/exports.wasm:8:76: duplicate function export "a"
+ third_party/spec/ml-proto/test/exports.wase:8:76: duplicate function export "a"
assert_invalid error:
- third_party/spec/ml-proto/test/exports.wasm:11:55: duplicate function export "a"
+ third_party/spec/ml-proto/test/exports.wase:11:55: duplicate function export "a"
instantiating module
0/0 tests passed.
instantiating module
diff --git a/test/spec/fac.txt b/test/spec/fac.txt
index 2affc028..055f7d68 100644
--- a/test/spec/fac.txt
+++ b/test/spec/fac.txt
@@ -1,6 +1,6 @@
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/fac.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/fac.wase
# STDOUT:
instantiating module
$assert_eq_0 OK
diff --git a/test/spec/float32.txt b/test/spec/float32.txt
index 3b59bd89..61cda5d3 100644
--- a/test/spec/float32.txt
+++ b/test/spec/float32.txt
@@ -1,6 +1,6 @@
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/float32.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/float32.wase
# STDOUT:
instantiating module
$assert_eq_0 OK
diff --git a/test/spec/forward.txt b/test/spec/forward.txt
index 61b5cb83..e6058e55 100644
--- a/test/spec/forward.txt
+++ b/test/spec/forward.txt
@@ -1,6 +1,6 @@
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/forward.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/forward.wase
# STDOUT:
instantiating module
$assert_eq_0 OK
diff --git a/test/spec/hexnum.txt b/test/spec/hexnum.txt
index 27d52e56..2a106b1e 100644
--- a/test/spec/hexnum.txt
+++ b/test/spec/hexnum.txt
@@ -1,6 +1,6 @@
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/hexnum.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/hexnum.wase
# STDOUT:
instantiating module
$assert_eq_0 OK
diff --git a/test/spec/i32.txt b/test/spec/i32.txt
index a83f586c..590168df 100644
--- a/test/spec/i32.txt
+++ b/test/spec/i32.txt
@@ -1,4 +1,4 @@
# SKIP: Unsupported opcode #87:ExprI32Clz
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/i32.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/i32.wase
diff --git a/test/spec/i64.txt b/test/spec/i64.txt
index 913e00af..4d328dc4 100644
--- a/test/spec/i64.txt
+++ b/test/spec/i64.txt
@@ -1,4 +1,4 @@
# SKIP: Unsupported opcode #114:ExprI64Clz
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/i64.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/i64.wase
diff --git a/test/spec/imports.txt b/test/spec/imports.txt
index b7489205..8156ef36 100644
--- a/test/spec/imports.txt
+++ b/test/spec/imports.txt
@@ -1,6 +1,6 @@
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/imports.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/imports.wase
# STDOUT:
instantiating module
13
diff --git a/test/spec/memory.txt b/test/spec/memory.txt
index 3cae289e..a97a4226 100644
--- a/test/spec/memory.txt
+++ b/test/spec/memory.txt
@@ -1,29 +1,29 @@
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/memory.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/memory.wase
# STDOUT:
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:13:21: max size (0) must be greater than or equal to initial size (1)
+ third_party/spec/ml-proto/test/memory.wase:13:21: max size (0) must be greater than or equal to initial size (1)
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:17:34: segment ends past the end of the initial memory size (0)
+ third_party/spec/ml-proto/test/memory.wase:17:34: segment ends past the end of the initial memory size (0)
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:21:53: address (500) greater than initial memory size (100)
+ third_party/spec/ml-proto/test/memory.wase:21:53: address (500) greater than initial memory size (100)
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:25:55: address (0) less than end of previous segment (3)
+ third_party/spec/ml-proto/test/memory.wase:25:55: address (0) less than end of previous segment (3)
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:29:54: address (0) less than end of previous segment (5)
+ third_party/spec/ml-proto/test/memory.wase:29:54: address (0) less than end of previous segment (5)
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:33:69: address (1) less than end of previous segment (3)
+ third_party/spec/ml-proto/test/memory.wase:33:69: address (1) less than end of previous segment (3)
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:44:18: alignment must be power-of-two
+ third_party/spec/ml-proto/test/memory.wase:44:18: alignment must be power-of-two
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:48:18: alignment must be power-of-two
+ third_party/spec/ml-proto/test/memory.wase:48:18: alignment must be power-of-two
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:52:18: alignment must be power-of-two
+ third_party/spec/ml-proto/test/memory.wase:52:18: alignment must be power-of-two
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:56:18: alignment must be power-of-two
+ third_party/spec/ml-proto/test/memory.wase:56:18: alignment must be power-of-two
assert_invalid error:
- third_party/spec/ml-proto/test/memory.wasm:60:18: alignment must be power-of-two
+ third_party/spec/ml-proto/test/memory.wase:60:18: alignment must be power-of-two
instantiating module
0/0 tests passed.
instantiating module
diff --git a/test/spec/memory_trap.txt b/test/spec/memory_trap.txt
index 7f878edb..046c6353 100644
--- a/test/spec/memory_trap.txt
+++ b/test/spec/memory_trap.txt
@@ -1,6 +1,6 @@
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/memory_trap.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/memory_trap.wase
# STDOUT:
instantiating module
$invoke_0 = undefined
diff --git a/test/spec/switch.txt b/test/spec/switch.txt
index 00c0c255..ea50c883 100644
--- a/test/spec/switch.txt
+++ b/test/spec/switch.txt
@@ -1,4 +1,4 @@
# SKIP: incorrect type mismatch in switch statement
# EXE: test/run-d8.py
# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/switch.wasm
+# STDIN_FILE: third_party/spec/ml-proto/test/switch.wase
diff --git a/test/spec/unsigned.txt b/test/spec/unsigned.txt
deleted file mode 100644
index c0a423a4..00000000
--- a/test/spec/unsigned.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-# SKIP: Unsupported opcode #165:ExprI64UConvertF64
-# EXE: test/run-d8.py
-# FLAGS: --spec
-# STDIN_FILE: third_party/spec/ml-proto/test/unsigned.wasm