From 22ad6ab514be34b586aea7ada24f3c3917e83ccc Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sun, 29 Nov 2015 21:52:52 -0800 Subject: more just-asm checking --- check.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'check.py') diff --git a/check.py b/check.py index 6b247be7e..e8ca31e90 100755 --- a/check.py +++ b/check.py @@ -208,10 +208,9 @@ 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 ['asm2wasm', 'wasm-s-parser', 'just-asm']: command = ['emcc', '-o', 'a.wasm.js', '-s', 'BINARYEN="' + os.getcwd() + '"', os.path.join('test', c)] + opts + extra - if method: - command += ['-s', 'BINARYEN_METHOD="' + method + '"'] + command += ['-s', 'BINARYEN_METHOD="' + method + '"'] subprocess.check_call(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) print '....' + ' '.join(command) if post: -- cgit v1.2.3