mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 06:55:07 +00:00
spec-test-script/runtest.py: Avoid specifying -v=0 unnecessarily (#3642)
The -v=n option is not always available. Note: WASM_ENABLE_LOG is off by default on NuttX.
This commit is contained in:
parent
2b5b771537
commit
7c9686df5f
|
@ -1161,7 +1161,10 @@ def run_wasm_with_repl(wasm_tempfile, aot_tempfile, opts, r):
|
|||
if opts.qemu:
|
||||
tmpfile = f"/tmp/{os.path.basename(tmpfile)}"
|
||||
|
||||
cmd_iwasm = [opts.interpreter, "--heap-size=0", "-v=5" if opts.verbose else "-v=0", "--repl", tmpfile]
|
||||
if opts.verbose:
|
||||
cmd_iwasm = [opts.interpreter, "--heap-size=0", "-v=5", "--repl", tmpfile]
|
||||
else:
|
||||
cmd_iwasm = [opts.interpreter, "--heap-size=0", "--repl", tmpfile]
|
||||
|
||||
if opts.multi_module:
|
||||
cmd_iwasm.insert(1, "--module-path=" + (tempfile.gettempdir() if not opts.qemu else "/tmp" ))
|
||||
|
|
Loading…
Reference in New Issue
Block a user