diff options
author | Ben Smith <binjimin@gmail.com> | 2018-01-26 11:31:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-26 11:31:38 -0800 |
commit | 36d47fbbb4acea12b6f985f259705bcec54e551e (patch) | |
tree | d295cdf48ee18cc989bd614175537001943f8453 /test/binary/bad-subsection-size.txt | |
parent | a2ac28e0dd155ee5974f492a01a4c46bd45e3398 (diff) | |
download | wabt-36d47fbbb4acea12b6f985f259705bcec54e551e.tar.gz wabt-36d47fbbb4acea12b6f985f259705bcec54e551e.tar.bz2 wabt-36d47fbbb4acea12b6f985f259705bcec54e551e.zip |
Support different returncodes per command in tests (#737)
Each command can specify its expected returncode. If the returncode
doesn't match when the command is run, then no further commands are run
for that test.
This change also requires all ERROR directives to be specified after the
RUN commands, since they are added to a command in the same way as ARGS.
Diffstat (limited to 'test/binary/bad-subsection-size.txt')
-rw-r--r-- | test/binary/bad-subsection-size.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/binary/bad-subsection-size.txt b/test/binary/bad-subsection-size.txt index a9e2dec4..256c3aca 100644 --- a/test/binary/bad-subsection-size.txt +++ b/test/binary/bad-subsection-size.txt @@ -1,5 +1,5 @@ -;;; ERROR: 1 ;;; TOOL: run-gen-wasm +;;; ERROR: 1 magic version section(TYPE) { count[1] function params[0] results[1] i32 } |