diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/help/sexpr-wasm.txt | 1 | ||||
-rw-r--r-- | test/help/wasm-interp.txt | 1 | ||||
-rw-r--r-- | test/help/wasm-wast.txt | 11 | ||||
-rwxr-xr-x | test/run-gen-spec-js.py | 6 | ||||
-rwxr-xr-x | test/run-gen-wasm-interp.py | 2 | ||||
-rwxr-xr-x | test/run-gen-wasm.py | 2 | ||||
-rwxr-xr-x | test/run-interp.py | 3 | ||||
-rw-r--r-- | test/run-opcodecnt.py | 5 | ||||
-rwxr-xr-x | test/run-roundtrip.py | 3 | ||||
-rwxr-xr-x | test/run-wasm-link.py | 2 | ||||
-rwxr-xr-x | test/run-wasmdump.py | 2 |
11 files changed, 6 insertions, 32 deletions
diff --git a/test/help/sexpr-wasm.txt b/test/help/sexpr-wasm.txt index 517a6825..46e8dbdb 100644 --- a/test/help/sexpr-wasm.txt +++ b/test/help/sexpr-wasm.txt @@ -28,7 +28,6 @@ options: -o, --output=FILE output wasm binary file -r, create a relocatable wasm binary (suitable for linking with wasm-link) --spec parse a file with multiple modules and assertions, like the spec tests - --use-libc-allocator use malloc, free, etc. instead of stack allocator --no-canonicalize-leb128s Write all LEB128 sizes as 5-bytes instead of their minimal size --debug-names Write debug names to the generated binary file --no-check Don't check for invalid modules diff --git a/test/help/wasm-interp.txt b/test/help/wasm-interp.txt index 038323ed..1d2b95df 100644 --- a/test/help/wasm-interp.txt +++ b/test/help/wasm-interp.txt @@ -31,5 +31,4 @@ options: -t, --trace trace execution --spec run spec tests (input file should be .json) --run-all-exports run all the exported functions, in order. useful for testing - --use-libc-allocator use malloc, free, etc. instead of stack allocator ;;; STDOUT ;;) diff --git a/test/help/wasm-wast.txt b/test/help/wasm-wast.txt index bc7ede10..1da862da 100644 --- a/test/help/wasm-wast.txt +++ b/test/help/wasm-wast.txt @@ -14,10 +14,9 @@ examples: $ wasm2wast test.wasm --no-debug-names -o test.wast options: - -v, --verbose use multiple times for more info - -h, --help print this help message - -o, --output=FILENAME output file for the generated wast file, by default use stdout - --use-libc-allocator use malloc, free, etc. instead of stack allocator - --no-debug-names Ignore debug names in the binary file - --generate-names Give auto-generated names to non-named functions, types, etc. + -v, --verbose use multiple times for more info + -h, --help print this help message + -o, --output=FILENAME output file for the generated wast file, by default use stdout + --no-debug-names Ignore debug names in the binary file + --generate-names Give auto-generated names to non-named functions, types, etc. ;;; STDOUT ;;) diff --git a/test/run-gen-spec-js.py b/test/run-gen-spec-js.py index 58921b81..5afc5f9e 100755 --- a/test/run-gen-spec-js.py +++ b/test/run-gen-spec-js.py @@ -54,7 +54,6 @@ def main(args): parser.add_argument('-p', '--print-cmd', help='print the commands that are run.', action='store_true') - parser.add_argument('--use-libc-allocator', action='store_true') parser.add_argument('file', help='wast file.') options = parser.parse_args(args) @@ -62,10 +61,7 @@ def main(args): wast2wasm = utils.Executable( find_exe.GetWast2WasmExecutable(options.bindir), '--spec', error_cmdline=options.error_cmdline) - wast2wasm.AppendOptionalArgs({ - '-v': options.verbose, - '--use-libc-allocator': options.use_libc_allocator - }) + wast2wasm.AppendOptionalArgs({'-v': options.verbose}) gen_spec_js = utils.Executable(sys.executable, GEN_SPEC_JS_PY, '--temp-dir', out_dir, diff --git a/test/run-gen-wasm-interp.py b/test/run-gen-wasm-interp.py index f8ec3849..76ed27ff 100755 --- a/test/run-gen-wasm-interp.py +++ b/test/run-gen-wasm-interp.py @@ -43,7 +43,6 @@ def main(args): action='store_false') parser.add_argument('--run-all-exports', action='store_true') parser.add_argument('--spec', action='store_true') - parser.add_argument('--use-libc-allocator', action='store_true') parser.add_argument('--print-cmd', help='print the commands that are run.', action='store_true') parser.add_argument('file', help='test file.') @@ -59,7 +58,6 @@ def main(args): '--run-all-exports': options.run_all_exports, '--spec': options.spec, '--trace': options.verbose, - '--use-libc-allocator': options.use_libc_allocator }) gen_wasm.verbose = options.print_cmd diff --git a/test/run-gen-wasm.py b/test/run-gen-wasm.py index 1a040a98..b68ba336 100755 --- a/test/run-gen-wasm.py +++ b/test/run-gen-wasm.py @@ -45,7 +45,6 @@ def main(args): action='store_false') parser.add_argument('-p', '--print-cmd', action='store_true', help='print the commands that are run.') - parser.add_argument('--use-libc-allocator', action='store_true') parser.add_argument('--no-debug-names', action='store_true') parser.add_argument('--generate-names', action='store_true') parser.add_argument('file', help='test file.') @@ -60,7 +59,6 @@ def main(args): wasm2wast.AppendOptionalArgs({ '--no-debug-names': options.no_debug_names, '--generate-names': options.generate_names, - '--use-libc-allocator': options.use_libc_allocator }) gen_wasm.verbose = options.print_cmd diff --git a/test/run-interp.py b/test/run-interp.py index 155ddb2f..d09634b3 100755 --- a/test/run-interp.py +++ b/test/run-interp.py @@ -45,7 +45,6 @@ def main(args): action='store_true') parser.add_argument('--run-all-exports', action='store_true') parser.add_argument('--spec', action='store_true') - parser.add_argument('--use-libc-allocator', action='store_true') parser.add_argument('file', help='test file.') options = parser.parse_args(args) @@ -55,7 +54,6 @@ def main(args): wast2wasm.AppendOptionalArgs({ '-v': options.verbose, '--spec': options.spec, - '--use-libc-allocator': options.use_libc_allocator }) wasm_interp = utils.Executable( @@ -65,7 +63,6 @@ def main(args): '--run-all-exports': options.run_all_exports, '--spec': options.spec, '--trace': options.verbose, - '--use-libc-allocator': options.use_libc_allocator }) wast2wasm.verbose = options.print_cmd diff --git a/test/run-opcodecnt.py b/test/run-opcodecnt.py index 2a635b9c..7611c96d 100644 --- a/test/run-opcodecnt.py +++ b/test/run-opcodecnt.py @@ -42,7 +42,6 @@ def main(args): action='store_false') parser.add_argument('--print-cmd', help='print the commands that are run.', action='store_true') - parser.add_argument('--use-libc-allocator', action='store_true') parser.add_argument('file', help='test file.') options = parser.parse_args(args) @@ -51,15 +50,11 @@ def main(args): error_cmdline=options.error_cmdline) wast2wasm.AppendOptionalArgs({ '-v': options.verbose, - '--use-libc-allocator': options.use_libc_allocator }) wasmopcodecnt = utils.Executable( find_exe.GetWasmOpcodeCntExecutable(options.bindir), error_cmdline=options.error_cmdline) - wasmopcodecnt.AppendOptionalArgs({ - '--use-libc-allocator': options.use_libc_allocator - }) wast2wasm.verbose = options.print_cmd wasmopcodecnt.verbose = options.print_cmd diff --git a/test/run-roundtrip.py b/test/run-roundtrip.py index a5337914..49afecf3 100755 --- a/test/run-roundtrip.py +++ b/test/run-roundtrip.py @@ -112,7 +112,6 @@ def main(args): parser.add_argument('-p', '--print-cmd', help='print the commands that are run.', action='store_true') - parser.add_argument('--use-libc-allocator', action='store_true') parser.add_argument('--no-check', action='store_true') parser.add_argument('--debug-names', action='store_true') parser.add_argument('--generate-names', action='store_true') @@ -125,7 +124,6 @@ def main(args): wast2wasm.AppendOptionalArgs({ '--debug-names': options.debug_names, '--no-check': options.no_check, - '--use-libc-allocator': options.use_libc_allocator }) wasm2wast = utils.Executable( @@ -134,7 +132,6 @@ def main(args): wasm2wast.AppendOptionalArgs({ '--no-debug-names': not options.debug_names, '--generate-names': options.generate_names, - '--use-libc-allocator': options.use_libc_allocator }) wast2wasm.verbose = options.print_cmd diff --git a/test/run-wasm-link.py b/test/run-wasm-link.py index d95f6dfe..39b4d675 100755 --- a/test/run-wasm-link.py +++ b/test/run-wasm-link.py @@ -50,7 +50,6 @@ def main(args): parser.add_argument('--debug-names', action='store_true') parser.add_argument('--dump-verbose', action='store_true') parser.add_argument('--spec', action='store_true') - parser.add_argument('--use-libc-allocator', action='store_true') parser.add_argument('file', help='test file.') options = parser.parse_args(args) @@ -59,7 +58,6 @@ def main(args): error_cmdline=options.error_cmdline) wast2wasm.AppendOptionalArgs({ '--debug-names': options.debug_names, - '--use-libc-allocator': options.use_libc_allocator, '-v': options.dump_verbose, }) diff --git a/test/run-wasmdump.py b/test/run-wasmdump.py index 8b254632..b30740b3 100755 --- a/test/run-wasmdump.py +++ b/test/run-wasmdump.py @@ -46,7 +46,6 @@ def main(args): parser.add_argument('--dump-verbose', action='store_true') parser.add_argument('--spec', action='store_true') parser.add_argument('--no-canonicalize-leb128s', action='store_true') - parser.add_argument('--use-libc-allocator', action='store_true') parser.add_argument('--debug-names', action='store_true') parser.add_argument('file', help='test file.') options = parser.parse_args(args) @@ -61,7 +60,6 @@ def main(args): '--spec': options.spec, '-v': options.verbose, '-c': options.compile_only, - '--use-libc-allocator': options.use_libc_allocator }) wasmdump = utils.Executable( |