[lldb/test] Fix TestSaveCrashlog.py following changes in eef5eadbe6

This patch fixes TestSaveCrashlog.py failure introduces by eef5eadbe6,
which restricts the number of positional argument for the output file to 1.

I expected to get the output file but `argparse` puts the object in a
list (even by constrained to a singled positional argument).

Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
This commit is contained in:
Med Ismail Bennani
2023-08-18 23:19:42 +01:00
parent 4ab4e40fa2
commit a3e6ac16ff

View File

@@ -1274,7 +1274,7 @@ def save_crashlog(debugger, command, exe_ctx, result, dict):
return
target = exe_ctx.target
if target:
out_file = options.output
out_file = options.output[0]
identifier = target.executable.basename
process = exe_ctx.process
if process: