summaryrefslogtreecommitdiff
path: root/test/binary/bad-duplicate-section.txt
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2018-01-26 14:24:21 -0800
committerGitHub <noreply@github.com>2018-01-26 14:24:21 -0800
commitea7b0224275f4e3e93f972d39856afaf08cd953b (patch)
tree46d2731a9777f18c971db122aff19926de9f96b6 /test/binary/bad-duplicate-section.txt
parent58040bf57d008fc246ea567396c834268dcf9324 (diff)
downloadwabt-ea7b0224275f4e3e93f972d39856afaf08cd953b.tar.gz
wabt-ea7b0224275f4e3e93f972d39856afaf08cd953b.tar.bz2
wabt-ea7b0224275f4e3e93f972d39856afaf08cd953b.zip
Replace `run-gen-wasm*.py` with `RUN` commands (#738)
This adds a new TOOL: `run-gen-wasm-bad` which is the same as `run-gen-wasm`, but assumes that both `wasm2wat` and `wasm-validate` will fail with an error.
Diffstat (limited to 'test/binary/bad-duplicate-section.txt')
-rw-r--r--test/binary/bad-duplicate-section.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/binary/bad-duplicate-section.txt b/test/binary/bad-duplicate-section.txt
index ce1f094e..c1771a29 100644
--- a/test/binary/bad-duplicate-section.txt
+++ b/test/binary/bad-duplicate-section.txt
@@ -1,14 +1,9 @@
-;;; TOOL: run-gen-wasm
-;;; ERROR: 1
+;;; TOOL: run-gen-wasm-bad
magic
version
section(TYPE) { count[0] }
section(TYPE) { count[0] }
(;; STDERR ;;;
-Error running "wasm-validate":
000000d: error: section Type out of order
-
-Error running "wasm2wat":
000000d: error: section Type out of order
-
;;; STDERR ;;)