summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-07 14:23:50 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-07 14:23:50 -0800
commitf1e0e4742168d920cc0ca65eb0d147e62474400d (patch)
treecf97fd105dce685544ee096bfecd75a1b12d9f63
parenta54be54b62f68ccf99ff3487783e2b8619371ae1 (diff)
downloadbinaryen-f1e0e4742168d920cc0ca65eb0d147e62474400d.tar.gz
binaryen-f1e0e4742168d920cc0ca65eb0d147e62474400d.tar.bz2
binaryen-f1e0e4742168d920cc0ca65eb0d147e62474400d.zip
add testing
-rwxr-xr-xcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 9ec036399..4393a6d0a 100755
--- a/check.py
+++ b/check.py
@@ -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)