2 Commits

Author SHA1 Message Date
f622b8e47c Use new wast parser in wasm2js (#6606)
When generating assertions, traverse the `WASTScript` data structure rather than
interleaving assertion parsing with emitting.
2024-05-29 10:35:25 -07:00
cba8e18a70 [test] Remove / move *.js tests from test/ (#6163)
`wasm2js.asserts.js` and `wasm2js.traps.js` seem to be used in wasm2js
asserts test:
1d615b38dd/scripts/test/wasm2js.py (L28)
1d615b38dd/scripts/test/wasm2js.py (L126-L127)

But other `*.js` tests in `test/` don't seem to be used anywhere. Please
let me know if they are actually being used.

This moves `wasm2js.asserts.js` and `wasm2js.traps.js`, which are only
used in wasmjs tests, to `test/wasm2js/`, and deletes all other `*.js`
tests in `test/`.
2023-12-11 17:40:49 -08:00