summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-xauto_update_tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py
index 56c0d831d..447340886 100755
--- a/auto_update_tests.py
+++ b/auto_update_tests.py
@@ -18,6 +18,10 @@ for asm in sorted(os.listdir('test')):
if not opts:
cmd += ['--no-opts']
wasm += '.no-opts'
+ if precise and opts:
+ # test mem init importing
+ open('a.mem', 'wb').write(asm)
+ cmd += ['--mem-init=a.mem']
print '..', asm, wasm
print ' ', ' '.join(cmd)
actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()