Home
last modified time | relevance | path

Searched refs:e (Results 1 – 25 of 71) sorted by relevance

123

/scripts/pylib/twister/
A Dscl.py46 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 Dtest_edtlib_binding_init.py1016 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 Dtest_edtlib.py311 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 Dtrace_capture_usb.py44 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 Dtrace_capture_uart.py35 except serial.SerialException as e:
36 sys.exit("{}".format(e))
/scripts/ci/
A Derrno.py39 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 Dpatch-schema.yml21 # 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 DSerialHandler.py36 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 Dhttp.py24 except requests.exceptions.HTTPError as e:
27 except requests.exceptions.RequestException as e:
/scripts/kconfig/
A Ddiffconfig102 e = sys.exc_info()[1]
103 print("I/O error[%s]: %s\n" % (e.args[0],e.args[1]))
/scripts/utils/
A Dmigrate_mcumgr_kconfigs.py143 except Exception as e:
144 print(f"Failed with exception {e}", e)
A Dmigrate_posix_kconfigs.py122 except Exception as e:
123 print(f"Failed with exception {e}", e)
/scripts/pylib/twister/twisterlib/
A Dcmakecache.py123 self._entries = OrderedDict((e.name, e) for e in entries)
A Dsize_calc.py189 except Exception as e:
190 print(str(e))
205 except Exception as e:
206 print(str(e))
A Dcoverage.py219 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 Dtest_nxp_s32dbg.py202 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 Dget_maintainer.py49 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 Dsnippets.py299 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 Dlist_boards.py237 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 Dlist_hardware.py51 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 Dbase_amend.yaml5 # 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 Dgen_syscalls.py526 % e for e in exported)
533 % e for e in exported)
535 % e for e in exported)
/scripts/west_commands/zspdx/
A Dcmakecache.py37 except OSError as e:
A Dcmakefileapijson.py39 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 Dcompletion.py93 except FileNotFoundError as e:

Completed in 29 milliseconds

123