summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheck.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/check.py b/check.py
index 08c6f5887..744042393 100755
--- a/check.py
+++ b/check.py
@@ -568,8 +568,9 @@ if has_emcc:
print '\n[ checking wasm.js methods... ]\n'
- for method in [None, 'asm2wasm', 'wasm-s-parser', 'just-asm']:
+ for method_init in [None, 'asm2wasm', 'wasm-s-parser', 'just-asm']:
for success in [1, 0]:
+ method = method_init
command = ['emcc', '-o', 'a.wasm.js', '-s', 'BINARYEN=1', os.path.join('test', 'hello_world.c') ]
if method:
command += ['-s', 'BINARYEN_METHOD="' + method + '"']