diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-07 14:23:50 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-07 14:23:50 -0800 |
commit | f1e0e4742168d920cc0ca65eb0d147e62474400d (patch) | |
tree | cf97fd105dce685544ee096bfecd75a1b12d9f63 /check.py | |
parent | a54be54b62f68ccf99ff3487783e2b8619371ae1 (diff) | |
download | binaryen-f1e0e4742168d920cc0ca65eb0d147e62474400d.tar.gz binaryen-f1e0e4742168d920cc0ca65eb0d147e62474400d.tar.bz2 binaryen-f1e0e4742168d920cc0ca65eb0d147e62474400d.zip |
add testing
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,7 @@ for c in tests: if os.path.exists(emcc): extra = json.loads(open(emcc).read()) if os.path.exists('a.normal.js'): os.unlink('a.normal.js') - for opts in [[], ['-O1'], ['-O3', '--profiling']]: + for opts in [[], ['-O1'], ['-O2'], ['-O3'], ['-Oz']]: command = ['./emcc_to_wasm.js.sh', os.path.join('test', c)] + opts + extra subprocess.check_call(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) print '....' + ' '.join(command) |