diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-28 19:11:47 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-28 19:11:47 -0800 |
commit | 37b7e93a71e1a51fcb826cb2bce88f47bd396674 (patch) | |
tree | f3cf8c52faef87dd2eb3e6d4ac9226ed001c8ce9 /check.py | |
parent | 5c19367f08d59d0edb17f7acdafe122e1d10e2a6 (diff) | |
download | binaryen-37b7e93a71e1a51fcb826cb2bce88f47bd396674.tar.gz binaryen-37b7e93a71e1a51fcb826cb2bce88f47bd396674.tar.bz2 binaryen-37b7e93a71e1a51fcb826cb2bce88f47bd396674.zip |
enable wasm-s-parser tests as binaryen method
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -168,7 +168,7 @@ for c in tests: extra = json.loads(open(emcc).read()) if os.path.exists('a.normal.js'): os.unlink('a.normal.js') for opts in [[], ['-O1'], ['-O2'], ['-O3'], ['-Oz']]: - for method in [None, 'asm2wasm']:#, 'wasm-s-parser']: + for method in [None, 'asm2wasm', 'wasm-s-parser']: command = ['emcc', '-o', 'a.wasm.js', '-s', 'BINARYEN="' + os.getcwd() + '"', os.path.join('test', c)] + opts + extra if method: command += ['-s', 'BINARYEN_METHOD="' + method + '"'] |