forked from espressif/esp-idf
Merge branch 'fix/gdbstub_runtime_test_requiers_elf_file' into 'master'
fix(gdbstub_runtime): fix test gdbstub_runtime which requiers elf file Closes IDFCI-1949, IDFCI-2311, IDF-8665, and IDF-9272 See merge request espressif/esp-idf!33750
This commit is contained in:
@@ -277,8 +277,14 @@ class PytestCase:
|
|||||||
if 'jtag' in self.env_markers or 'usb_serial_jtag' in self.env_markers:
|
if 'jtag' in self.env_markers or 'usb_serial_jtag' in self.env_markers:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if any('panic' in Path(app.path).parts for app in self.apps):
|
cases_need_elf = [
|
||||||
return True
|
'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
|
return False
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user