summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-04-18 17:27:32 -0700
committerGitHub <noreply@github.com>2017-04-18 17:27:32 -0700
commitc945f3be7732e77402d696389482b290be7626cd (patch)
tree4c7b5ccbe6f57ff4ec5aa9e89bc298f38dc5408f /check.py
parent0dc8efbf7f5ac474fadff934eb78cd5f8551d0bb (diff)
parenta9b1d78072bd1875d926cfb0ae51a6eb4dc49b4e (diff)
downloadbinaryen-c945f3be7732e77402d696389482b290be7626cd.tar.gz
binaryen-c945f3be7732e77402d696389482b290be7626cd.tar.bz2
binaryen-c945f3be7732e77402d696389482b290be7626cd.zip
Merge pull request #976 from WebAssembly/fix-f2u
Fix asm2wasm unsigned float-to-int
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/check.py b/check.py
index 57eedc423..2171a330d 100755
--- a/check.py
+++ b/check.py
@@ -576,6 +576,7 @@ if EMCC:
for method in ['interpret-asm2wasm', 'interpret-s-expr', 'interpret-binary']:
command = [EMCC, '-o', 'a.wasm.js', '-s', 'BINARYEN=1', os.path.join(options.binaryen_test, c)] + opts + extra
command += ['-s', 'BINARYEN_METHOD="' + method + '"']
+ command += ['-s', 'BINARYEN_TRAP_MODE="js"']
print '....' + ' '.join(command)
subprocess.check_call(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if post: