File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 3232
3333options = parser .parse_args ()
3434
35- lldb_command_prologue = f'{ options .lldb } -o "process connect -p wasm connect://127.0.0.1:{ options .port } "'
3635lldb_command_epilogue = '-o q'
3736
3837test_cases = {
@@ -64,8 +63,13 @@ def print_process_output(p):
6463 print ("Failed to get process output" )
6564
6665# Step2: Launch WAMR in debug mode and validate lldb commands
67- wamr_cmd = f'{ options .wamr } -g=127.0.0.1:{ options .port } { WASM_OUT_FILE } '
66+
67+ iteration = 0
6868for case , cmd in test_cases .items ():
69+ lldb_command_prologue = f'{ options .lldb } -o "process connect -p wasm connect://127.0.0.1:{ int (options .port ) + iteration } "'
70+ wamr_cmd = f'{ options .wamr } -g=127.0.0.1:{ int (options .port ) + iteration } { WASM_OUT_FILE } '
71+ iteration += 1
72+
6973 has_error = False
7074 print (f'validating case [{ case } ] ...' , end = '' , flush = True )
7175 lldb_cmd = f'{ lldb_command_prologue } { cmd } { lldb_command_epilogue } '
You can’t perform that action at this time.
0 commit comments