From a9b1d78072bd1875d926cfb0ae51a6eb4dc49b4e Mon Sep 17 00:00:00 2001 From: "Alon Zakai (kripken)" Date: Tue, 18 Apr 2017 12:58:57 -0700 Subject: 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 --- check.py | 1 + 1 file changed, 1 insertion(+) (limited to 'check.py') 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: -- cgit v1.2.3