/scripts/pylib/twister/ |
A D | scl.py | 46 except yaml.scanner.ScannerError as e: # For errors parsing schema.yaml 47 mark = e.problem_mark 48 cmark = e.context_mark 50 mark.name, mark.line, mark.column, e.problem, 51 e.note, cmark.name, cmark.line, cmark.column, e.context) 67 except ImportError as e: 68 log.warning("can't import pykwalify; won't validate YAML (%s)", e)
|
/scripts/dts/python-devicetree/tests/ |
A D | test_edtlib_binding_init.py | 1016 assert "prop-1" in str(e) 1021 assert "child-prop-1" in str(e) 1026 assert "grandchild-prop-1" in str(e) 1038 assert "prop-const" in str(e) 1043 assert "child-prop-const" in str(e) 1060 assert "prop-req" in str(e) 1065 assert "child-prop-req" in str(e) 1082 assert "prop-default" in str(e) 1104 assert "prop-enum" in str(e) 1109 assert "child-prop-enum" in str(e) [all …]
|
A D | test_edtlib.py | 311 with pytest.raises(edtlib.EDTError) as e: 315 in str(e.value)) 321 in str(e.value)) 326 value_str = str(e.value) 333 value_str = str(e.value) 340 value_str = str(e.value) 350 value_str = str(e.value) 358 value_str = str(e.value) 893 in str(e.value)) 897 value_str = str(e.value) [all …]
|
/scripts/tracing/ |
A D | trace_capture_usb.py | 44 except Exception as e: 45 sys.exit("{}".format(e)) 53 except usb.core.USBError as e: 54 sys.exit("{}".format(e)) 60 except usb.core.USBError as e: 61 sys.exit("{}".format(e)) 68 lambda e: \ 70 e.bEndpointAddress) == \ 75 lambda e: \ 77 e.bEndpointAddress) == \
|
A D | trace_capture_uart.py | 35 except serial.SerialException as e: 36 sys.exit("{}".format(e))
|
/scripts/ci/ |
A D | errno.py | 39 except KeyError as e: 46 for e in minimal: 47 if e[0] not in [x[0] for x in newlib] or e[1] != next( 48 filter(lambda _e: _e[0] == e[0], newlib))[1]:
|
/scripts/schemas/ |
A D | patch-schema.yml | 21 # e.g. e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 28 # e.g. zephyr, or bootloader/mcuboot 33 # The name of the primary author of the patch, e.g. Kermit D. Frog 38 # The email address of the primary author of the patch, e.g. itsnoteasy@being.gr 56 # e.g. https://github.com/zephyrproject-rtos/zephyr/pull/24486 62 # or bug report, e.g. https://github.com/zephyrproject-rtos/zephyr/issues/24485 72 # e.g. af926ae728c78affa89cbc1de811ab4211ed0f69 88 # e.g. "This is a workaround for xyz and probably should not go upstream" 94 # only applies to version 1.2.3, one could specify e.g. custom: [1, 2, 3].
|
/scripts/pylib/power-twister-harness/stm32l562e_dk/ |
A D | SerialHandler.py | 36 except serial.SerialException as e: 37 logging.error("Error opening serial port %s: %s", self.port, str(e)) 56 except serial.SerialException as e:
|
/scripts/west_commands/fetchers/ |
A D | http.py | 24 except requests.exceptions.HTTPError as e: 27 except requests.exceptions.RequestException as e:
|
/scripts/kconfig/ |
A D | diffconfig | 102 e = sys.exc_info()[1] 103 print("I/O error[%s]: %s\n" % (e.args[0],e.args[1]))
|
/scripts/utils/ |
A D | migrate_mcumgr_kconfigs.py | 143 except Exception as e: 144 print(f"Failed with exception {e}", e)
|
A D | migrate_posix_kconfigs.py | 122 except Exception as e: 123 print(f"Failed with exception {e}", e)
|
/scripts/pylib/twister/twisterlib/ |
A D | cmakecache.py | 123 self._entries = OrderedDict((e.name, e) for e in entries)
|
A D | size_calc.py | 189 except Exception as e: 190 print(str(e)) 205 except Exception as e: 206 print(str(e))
|
A D | coverage.py | 219 except subprocess.CalledProcessError as e: 222 except FileNotFoundError as e: 381 except subprocess.CalledProcessError as e: 384 except FileNotFoundError as e: 544 except OSError as e: 545 symlink_error = e 546 except OSError as e: 547 symlink_error = e
|
/scripts/west_commands/tests/ |
A D | test_nxp_s32dbg.py | 202 expected_client = [e.replace('TEST_GDB_SCRIPT', gdb_script.as_posix()) 203 for e in expected['client']] 236 expected_client = [e.replace('TEST_GDB_SCRIPT', gdb_script.as_posix()) 237 for e in expected['client']]
|
/scripts/ |
A D | get_maintainer.py | 49 except (MaintainersError, GitError) as e: 50 _serr(e) 508 except YAMLError as e: 509 raise MaintainersError("{}: YAML error: {}".format(path, e)) 589 except re.error as e: 592 area_name, e.msg)) 615 except OSError as e: 616 _giterr("error running '{}': {}".format(git_cmd_s, e))
|
A D | snippets.py | 299 def pykwalify_err(e): argument 308 except pykwalify.errors.PyKwalifyException as e: 309 _err(pykwalify_err(e)) 347 except SnippetsError as e: 348 LOG.critical(e.msg)
|
A D | list_boards.py | 237 except pykwalify.errors.SchemaError as e: 302 for e in board_extensions: 303 board = boards.get(e['extend']) 306 board.directories.append(e['dir']) 308 for v in e.get('variants', []): 311 board_yml = e['dir'] / BOARD_YML 342 b, e = load_v2_boards(args.board, board_yml, systems) 348 board_extensions.extend(e)
|
A D | list_hardware.py | 51 except (yaml.YAMLError, pykwalify.errors.SchemaError) as e: 52 sys.exit(f'ERROR: Malformed yaml {soc_yaml.as_posix()}', e) 125 except FileNotFoundError as e: 126 sys.exit(f'ERROR: socs.yml file not found: {socs_file.as_posix()}', e) 223 except pykwalify.errors.SchemaError as e:
|
/scripts/dts/python-devicetree/tests/test-bindings-init/ |
A D | base_amend.yaml | 5 # e.g. setting a "default:" value 7 # e.g. change its "description:" 21 # Non authorized amendments, e.g. changing a "const:" value
|
/scripts/build/ |
A D | gen_syscalls.py | 526 % e for e in exported) 533 % e for e in exported) 535 % e for e in exported)
|
/scripts/west_commands/zspdx/ |
A D | cmakecache.py | 37 except OSError as e:
|
A D | cmakefileapijson.py | 39 except OSError as e: 42 except json.decoder.JSONDecodeError as e: 89 except OSError as e: 92 except json.decoder.JSONDecodeError as e: 190 except OSError as e: 193 except json.decoder.JSONDecodeError as e:
|
/scripts/west_commands/ |
A D | completion.py | 93 except FileNotFoundError as e:
|