summaryrefslogtreecommitdiff
path: root/scripts/test/binaryenjs.py
Commit message (Collapse)AuthorAgeFilesLines
* Add a CMake flag to enable Wasm exceptions in the BinaryenJS build (#5454)Derek Schuff2023-02-021-1/+1
|
* Switch binaryen.js/wasm to ESM (#4280)dcode2021-10-281-8/+17
|
* Fix binaryenjs testing (#2810)Sam Clegg2020-04-271-5/+2
| | | | | | These tests are now optional. However, if you run them and the build is not found they will now error out, in order to avoid silently failing.
* Remove executable bit from test scripts (#2734)Sam Clegg2020-04-091-17/+0
| | | | | | | | | | | | | | | | | | These are no all driven by only by the two top level scripts: check.py auto_update_tests.py What is more all of them were broken when run isolation due to relative import rules in python3. e.g.: ``` $ scripts/test/binaryenjs.py Traceback (most recent call last): File "scripts/test/binaryenjs.py", line 21, in <module> from . import shared ImportError: cannot import name 'shared' from '__main__' (scripts/test/binaryenjs.py) ```
* Factor out wasm_opt testing. NFC. (#2737)Sam Clegg2020-04-091-0/+32
| | | | Also, factor out auto-updating of binaryenjs testing so it lives alongside the actual test code.
* Align binaryen.js with the npm package (#2551)Daniel Wirtz2020-01-141-10/+27
| | | | | Binaryen.js now uses binaryen (was Binaryen) as its global name to align with the npm package. Also fixes issues with emitting and testing both the JS and Wasm builds.
* Use package name in imports (NFC) (#2462)Heejin Ahn2019-11-221-18/+18
| | | | | Don't directly import names from shared.py and support.py, and use prefixes instead. Also this reorders imports based on PEP recommendation.
* Switch python indentation from 2-space to 4-space (#2299)Sam Clegg2019-08-161-44/+44
| | | | | | | | pep8 specifies 4 space indentation. The use of 2 spaces is, I believe a historical anomaly where certain large organizations such as google chose 2 over 4 and have yet to make the switch. Since there isn't too much code in binaryen today it seems reasonable to make the switch.
* Python3-ify check.py and auto_update_tests.py (#2270)Alon Zakai2019-07-311-8/+8
| | | | | I fixed flatten.bin.txt which seems to have just had some corrupted data, and I removed some fancy unicode from the spec comments tests, which I'm not sure it's important enough to figure out how to fix. Fixes #1691
* Split binaryenjs tests out from main check.py script (#2163)Sam Clegg2019-06-061-0/+77