summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-11-01 12:48:01 -0700
committerGitHub <noreply@github.com>2017-11-01 12:48:01 -0700
commitd328024d8c435379f248b0a257df2aedbe1c1b84 (patch)
tree98cff487379c1ba5160a3f7740609fcd34bbe325 /auto_update_tests.py
parent7a4c47e7d4e70404249af4a9ac4ffcbe23d2cd67 (diff)
downloadbinaryen-d328024d8c435379f248b0a257df2aedbe1c1b84.tar.gz
binaryen-d328024d8c435379f248b0a257df2aedbe1c1b84.tar.bz2
binaryen-d328024d8c435379f248b0a257df2aedbe1c1b84.zip
Fix binaryen.js's wasm2asm (#1257)
* fix wasm2asm in binaryen.js, the function locals may not all have names, so add them as necessary
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-xauto_update_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py
index e38a0f48f..77dabbb42 100755
--- a/auto_update_tests.py
+++ b/auto_update_tests.py
@@ -16,7 +16,7 @@ for asm in sorted(os.listdir('test')):
if asm.endswith('.asm.js'):
for precise in [0, 1, 2]:
for opts in [1, 0]:
- cmd = ASM2WASM + [os.path.join('test', asm)]
+ cmd = ASM2WASM + [os.path.join('test', asm), '--enable-threads']
wasm = asm.replace('.asm.js', '.fromasm')
if not precise:
cmd += ['--trap-mode=allow', '--ignore-implicit-traps']