summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-11-01 21:32:38 -0700
committerGitHub <noreply@github.com>2016-11-01 21:32:38 -0700
commit22699ebad0972fa7604dd8ffd26f9f6607e82fb0 (patch)
treecf49990c3ed2ed044c006172e965f9b3ded5402d /auto_update_tests.py
parent0ff4359de75b4dd2a786dfa50cb17b3ec01a701a (diff)
parent26cf3235f9f73a8f187fa75f274bc517a65c3fe9 (diff)
downloadbinaryen-22699ebad0972fa7604dd8ffd26f9f6607e82fb0.tar.gz
binaryen-22699ebad0972fa7604dd8ffd26f9f6607e82fb0.tar.bz2
binaryen-22699ebad0972fa7604dd8ffd26f9f6607e82fb0.zip
Merge pull request #819 from WebAssembly/optimize-memory
Pack memory segments
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-xauto_update_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py
index 63590f6cc..f3671b5ce 100755
--- a/auto_update_tests.py
+++ b/auto_update_tests.py
@@ -25,6 +25,8 @@ for asm in sorted(os.listdir('test')):
# test mem init importing
open('a.mem', 'wb').write(asm)
cmd += ['--mem-init=a.mem']
+ if asm[0] == 'e':
+ cmd += ['--mem-base=1024']
if 'i64' in asm or 'wasm-only' in asm:
cmd += ['--wasm-only']
print '..', asm, wasm