diff --git a/scripts/tests/chiptest/test_definition.py b/scripts/tests/chiptest/test_definition.py index bbce2428b619a9..a655fa894eb3c9 100644 --- a/scripts/tests/chiptest/test_definition.py +++ b/scripts/tests/chiptest/test_definition.py @@ -279,6 +279,13 @@ def Run(self, runner, apps_register, paths: ApplicationPaths, pics_file: str, if path == paths.chip_tool or path == paths.chip_repl_yaml_tester_cmd or path == paths.chip_tool_with_python_cmd: continue + # Skip items where we don't actually have a path. This can + # happen if the relevant application does not exist. It's + # non-fatal as long as we are not trying to run any tests that + # need that application. + if len(path) == 1 and path[0] is None: + continue + # For the app indicated by self.target, give it the 'default' key to add to the register if path == target_app: key = 'default'