Skip to content

Commit 8d0a6b5

Browse files
nashifkartben
authored andcommitted
twister: do not use twister internals for reason field
Do not use twister internals for reason field. Signed-off-by: Anas Nashif <[email protected]>
1 parent a6277dd commit 8d0a6b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pylib/twister/twisterlib/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def handle(self, harness):
390390
self.returncode = proc.returncode
391391
if proc.returncode != 0:
392392
self.instance.status = TwisterStatus.ERROR
393-
self.instance.reason = f"BinaryHandler returned {proc.returncode}"
393+
self.instance.reason = f"rc={proc.returncode}"
394394
self.try_kill_process_by_pid()
395395

396396
self.execution_time = time.time() - start_time

0 commit comments

Comments
 (0)