fix(gdbstub_runtime): fix test gdbstub_runtime which requiers elf file

This commit is contained in:
Alexey Lapshin
2024-09-23 22:27:51 +07:00
parent 564d777018
commit 84d1ca8f72

View File

@@ -277,8 +277,14 @@ class PytestCase:
if 'jtag' in self.env_markers or 'usb_serial_jtag' in self.env_markers:
return True
if any('panic' in Path(app.path).parts for app in self.apps):
return True
cases_need_elf = [
'panic',
'gdbstub_runtime'
]
for case in cases_need_elf:
if any(case in Path(app.path).parts for app in self.apps):
return True
return False