Skip to content

Commit 84d1ca8

Browse files
committed
fix(gdbstub_runtime): fix test gdbstub_runtime which requiers elf file
1 parent 564d777 commit 84d1ca8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tools/ci/idf_pytest/constants.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,14 @@ def requires_elf_or_map(self) -> bool:
277277
if 'jtag' in self.env_markers or 'usb_serial_jtag' in self.env_markers:
278278
return True
279279

280-
if any('panic' in Path(app.path).parts for app in self.apps):
281-
return True
280+
cases_need_elf = [
281+
'panic',
282+
'gdbstub_runtime'
283+
]
284+
285+
for case in cases_need_elf:
286+
if any(case in Path(app.path).parts for app in self.apps):
287+
return True
282288

283289
return False
284290

0 commit comments

Comments
 (0)