diff --git a/tools/ci/idf_pytest/constants.py b/tools/ci/idf_pytest/constants.py index 89f3bbe1c1..406baa19f2 100644 --- a/tools/ci/idf_pytest/constants.py +++ b/tools/ci/idf_pytest/constants.py @@ -271,8 +271,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