summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-03-11 14:52:45 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-03-11 14:52:45 -0800
commit6fc08966aeaace7db8220e8ba9c3f85297564abb (patch)
treeadaaef08ac6dab8df1dae619cd0ef593ec83bf26
parentea3a2f2c276c76ff27665e168877ebb771fa12b4 (diff)
downloadbinaryen-6fc08966aeaace7db8220e8ba9c3f85297564abb.tar.gz
binaryen-6fc08966aeaace7db8220e8ba9c3f85297564abb.tar.bz2
binaryen-6fc08966aeaace7db8220e8ba9c3f85297564abb.zip
fix test harness assignment
-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 + '"']