Skip to content

Commit ce1fbf6

Browse files
committed
Commands needs to be all strings
Mixing Path with strings makes the RuntimeError string creation fail on line 318 below in case of a failed run. Signed-off-by: Per Åstrand <[email protected]> Change-Id: Ib49c4396dc78b4c3cf0ad473e81a340ba7fc869a
1 parent f73b8cf commit ce1fbf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/arm/test/runner_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def run_corstone(
270270
"-C",
271271
f"cpu0.semihosting-cmd_line='{cmd_line}'",
272272
"-a",
273-
elf_path,
273+
str(elf_path),
274274
"--timelimit",
275275
f"{timeout}",
276276
]
@@ -302,7 +302,7 @@ def run_corstone(
302302
"-C",
303303
f"mps4_board.subsystem.cpu0.semihosting-cmd_line='{cmd_line}'",
304304
"-a",
305-
elf_path,
305+
str(elf_path),
306306
"--timelimit",
307307
f"{timeout}",
308308
]

0 commit comments

Comments
 (0)