summaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2017-06-27 14:24:21 -0700
committerGitHub <noreply@github.com>2017-06-27 14:24:21 -0700
commit21e08eeef1ccc489cd06495e4370e1dffccfe088 (patch)
treecf10711c6eb26acf378da8cdcc4d7e961ef582bf /scripts/test
parentbf37733de319b5e0f0b6b0205c1745c5214fea1e (diff)
downloadbinaryen-21e08eeef1ccc489cd06495e4370e1dffccfe088.tar.gz
binaryen-21e08eeef1ccc489cd06495e4370e1dffccfe088.tar.bz2
binaryen-21e08eeef1ccc489cd06495e4370e1dffccfe088.zip
Add shared memories (#1069)
Begin to implement wasm threading proposal in https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md This PR just has shared memory attribute with wast and binary support.
Diffstat (limited to 'scripts/test')
-rwxr-xr-xscripts/test/s2wasm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/test/s2wasm.py b/scripts/test/s2wasm.py
index e89a65099..3f38acbac 100755
--- a/scripts/test/s2wasm.py
+++ b/scripts/test/s2wasm.py
@@ -29,7 +29,8 @@ def test_s2wasm():
os.path.join(options.binaryen_test, 'dot_s', 'basics.s'),
'--import-memory']
output = run_command(cmd)
- fail_if_not_contained(output, '(import "env" "memory" (memory $0 1))')
+ fail_if_not_contained(
+ output, '(import "env" "memory" (memory $0 1))')
for dot_s_dir in ['dot_s', 'llvm_autogenerated']:
dot_s_path = os.path.join(options.binaryen_test, dot_s_dir)