From f1e0e4742168d920cc0ca65eb0d147e62474400d Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 7 Nov 2015 14:23:50 -0800 Subject: add testing --- check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check.py') 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) -- cgit v1.2.3