summaryrefslogtreecommitdiff
path: root/scripts/support.py
Commit message (Collapse)AuthorAgeFilesLines
* Refactor check.py so that groups of tests can be split into separate … (#849)jgravelle-google2016-12-061-158/+0
| | | | | | | | | | | | | | * Refactor check.py so that groups of tests can be split into separate files - Move helper util functions into test/shared.py - Move scripts/support.py to test/support.py - Split s2wasm tests into its own file * Fix flake8 warnings for shared.py and s2wasm.py * Move test scripts from test/ to scripts/test/ * Replace 'from shared import *' with explicit imports
* Update s2wasm for 0xc changes (#698)Derek Schuff2016-09-151-1/+8
| | | | | | | | | | | Several updates for s2wasm and its tests: Add explicit drops where they are emitted by LLVM already Convert loops (which are still modeled in the old way by LLVM) to wrap them in an explicit block (for the exit label). This also allows simplifying the loop creation (no need to post-process the implicit block which is the loop's body). After the engines update to 0xc we should update LLVM to model loops in the 0xc way, but for now it remains compatible with 0xb and 0xc. Fix the order of the calls to setTee() when creating tee_locals Add an explicit drop when creating the _start entry function wrapper if needed Update dot_s and llvm_autogenerated tests to remove store-results optimization (and few other minor updates) Fix the test auto-updater to fail if subprocesses fail There still seems to be a validation failure when building libc (I think it's from the stricter drop rules, but it may be in the source rather than the compiler), but this at least makes Binaryen's tests pa
* fix parsing in split_wastAlon Zakai2016-09-071-1/+6
|
* separate wasm-opt out from wasm-shell: opt optimizes, shell runs wast shell ↵Alon Zakai2016-07-131-0/+57
| | | | tests
* untar: don't compare when a dir doesn't existJF Bastien2016-01-171-1/+5
| | | | Fixes issues in #112.
* Make the untar API more intuitiveJF Bastien2016-01-161-22/+57
| | | | As discussed in #112.
* Factor out some support codeJF Bastien2016-01-161-0/+50
Patches such as #112 could use them.