summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-04-19 20:55:08 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-04-20 07:56:59 -0700
commit6159981ce829941a6950610d1f56f763adaaedc7 (patch)
treed2186b5ae2a673ae7d0555fcb90e1d93b45e9479
parent877d785ad57a96020257ed38f9e1ccbb13692350 (diff)
downloadbinaryen-6159981ce829941a6950610d1f56f763adaaedc7.tar.gz
binaryen-6159981ce829941a6950610d1f56f763adaaedc7.tar.bz2
binaryen-6159981ce829941a6950610d1f56f763adaaedc7.zip
update check.py for the wasm default method now being native with binary support
-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)