Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Beregszaszi <[email protected]>
  • Loading branch information
chfast and axic authored Sep 9, 2020
1 parent 9b85822 commit c70fea5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/spectests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ bin/fizzy-spectests <test directory>
Fizzy uses the official WebAssembly "[spec tests]", albeit not directly.
It requires the Wast files to be translated into a JSON format using [wabt]'s `wast2json` tool.

The reason for this is a design decision of Fizzy to not support the WebAssembly text format and unfortunately
The reason for this is a design decision of Fizzy to not support the WebAssembly text format, and unfortunately
the official test cases are in a text format.

In order to prepare the tests, run the following command for each file:
```shell script
wast2json <file.wast> -o <file.json>
```

You should also disable Wasm extensions with
Make sure to disable all WebAssembly extensions when using `wast2json`:
```shell script
wast2json --disable-saturating-float-to-int --disable-sign-extension --disable-multi-value
```

To convert all files at once, run
To convert all files at once:
```shell script
wast2json
find test/core -name '*.wast' -exec wast2json $options {} \;
Expand Down

0 comments on commit c70fea5

Please sign in to comment.