diff options
author | Alon Zakai (kripken) <alonzakai@gmail.com> | 2017-04-18 12:58:57 -0700 |
---|---|---|
committer | Alon Zakai (kripken) <alonzakai@gmail.com> | 2017-04-18 16:59:02 -0700 |
commit | a9b1d78072bd1875d926cfb0ae51a6eb4dc49b4e (patch) | |
tree | 4c7b5ccbe6f57ff4ec5aa9e89bc298f38dc5408f | |
parent | 12e8c5c20bf9f7d1e5fd85a56c722adf786b5bab (diff) | |
download | binaryen-a9b1d78072bd1875d926cfb0ae51a6eb4dc49b4e.tar.gz binaryen-a9b1d78072bd1875d926cfb0ae51a6eb4dc49b4e.tar.bz2 binaryen-a9b1d78072bd1875d926cfb0ae51a6eb4dc49b4e.zip |
test interpreter on trap mode = js, as we try values that can trap. we recently changed the default trap mode in emscripten, which makes this change necessary
-rwxr-xr-x | check.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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: |