summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-04-20 08:24:59 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-04-20 08:24:59 -0700
commit86154bff23044b24e18235c8c92721eb463e616a (patch)
treee430db5de044492eb924df461a2abef95e6e7010 /check.py
parent31dd39afd6197743d3ccbb2cfa4276134c6751d2 (diff)
parent589fb94100c02f8a6e6e923b73d5f7e578fe978a (diff)
downloadbinaryen-86154bff23044b24e18235c8c92721eb463e616a.tar.gz
binaryen-86154bff23044b24e18235c8c92721eb463e616a.tar.bz2
binaryen-86154bff23044b24e18235c8c92721eb463e616a.zip
Merge pull request #368 from WebAssembly/zero_x_b
0xb updates
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/check.py b/check.py
index ebb118995..634b68fbd 100755
--- a/check.py
+++ b/check.py
@@ -605,14 +605,11 @@ if has_emcc:
print '\n[ checking wasm.js methods... ]\n'
- for method_init in [None, 'interpret-asm2wasm', 'interpret-s-expr', 'asmjs', 'interpret-binary']:
+ for method_init in ['interpret-asm2wasm', 'interpret-s-expr', 'asmjs', 'interpret-binary']:
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 + '"']
- else:
- method = 'interpret-s-expr' # this is the default
+ command += ['-s', 'BINARYEN_METHOD="' + method + '"']
print method, ' : ', ' '.join(command), ' => ', success
subprocess.check_call(command)