diff options
Diffstat (limited to 'scripts/test/s2wasm.py')
-rwxr-xr-x | scripts/test/s2wasm.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/test/s2wasm.py b/scripts/test/s2wasm.py index 02cb5f147..5e704e51a 100755 --- a/scripts/test/s2wasm.py +++ b/scripts/test/s2wasm.py @@ -25,6 +25,12 @@ from shared import ( def test_s2wasm(): print '\n[ checking .s testcases... ]\n' + cmd = 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))') + for dot_s_dir in ['dot_s', 'llvm_autogenerated']: dot_s_path = os.path.join(options.binaryen_test, dot_s_dir) for s in sorted(os.listdir(dot_s_path)): |