summaryrefslogtreecommitdiff
path: root/scripts/test/wasm2js.py
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2023-12-11 17:41:56 -0800
committerGitHub <noreply@github.com>2023-12-11 17:41:56 -0800
commit5db8eb2131bebfed4e0748056d9fafaca60ce83e (patch)
tree11dc20c6b38cc0b463d00fad219f467ba06f5a60 /scripts/test/wasm2js.py
parent8613b14d74db8c2c18e144198147feba74b09132 (diff)
downloadbinaryen-5db8eb2131bebfed4e0748056d9fafaca60ce83e.tar.gz
binaryen-5db8eb2131bebfed4e0748056d9fafaca60ce83e.tar.bz2
binaryen-5db8eb2131bebfed4e0748056d9fafaca60ce83e.zip
[test] Tweak RUN commands of test/lit/basic/ (#6159)
This tweaks generated file names and `filecheck` prefixes to be more (IMHO) consistent. Also shortened binary/BINARY to bin/BIN for conciseness. This also changes the order of `RUN` commands a little. And this changes ```console wasm-opt %t.wast -all -o %t.text.wast -g -S ``` to ```console wasm-opt %s -all -o %t.text.wast -g -S ``` The current command doesn't take the source file but the generated file from the command above `wasm-dis`, which is not the behavior of `check.py`. This changes it back to the original source (`%s`). As a result of `wasm-opt` change, some tests are now failing because of the order of `(type)`s. So I just deleted all `CHECK` lines and regenerated them using `update_lit_checks.py --all-items`. The large amount of `CHECK` line changes are mainly because I moved `CHECK-TEXT` before `CHECK-BINARY` and not meaningful.
Diffstat (limited to 'scripts/test/wasm2js.py')
0 files changed, 0 insertions, 0 deletions