Skip to content

Commit 639c6d8

Browse files
authored
Arm backend: Commands needs to be all strings (#7881)
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]>
1 parent 135e875 commit 639c6d8

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)