/scripts/pylib/pytest-twister-harness/src/twister_harness/device/ |
A D | binary_adapter.py | 43 msg = 'Run command is empty, please verify if it was generated properly.' 44 logger.error(msg) 45 raise TwisterHarnessException(msg) 50 msg = f'Running subprocess failed due to SubprocessError {exc}' 51 logger.error(msg) 52 raise TwisterHarnessException(msg) from exc 55 logger.error(msg) 56 raise TwisterHarnessException(msg) from exc 58 msg = f'Running subprocess failed {exc}' 59 logger.error(msg) [all …]
|
A D | hardware_adapter.py | 104 logger.error(msg) 105 raise TwisterHarnessException(msg) 121 logger.error(msg) 122 raise TwisterHarnessTimeoutException(msg) from exc 125 logger.error(msg) 126 raise TwisterHarnessTimeoutException(msg) from exc 138 logger.error(msg) 139 raise TwisterHarnessException(msg) 281 logger.error(msg) 282 raise TwisterHarnessException(msg) [all …]
|
A D | device_adapter.py | 110 msg = 'Cannot connect to not working device' 111 logger.error(msg) 112 raise TwisterHarnessException(msg) 147 logger.error(msg) 191 logger.error(msg) 217 msg = 'No connection to the device' 218 logger.error(msg) 219 raise TwisterHarnessException(msg) 282 msg = 'west not found' 283 logger.error(msg) [all …]
|
A D | utils.py | 20 def log_command(logger: logging.Logger, msg: str, args: list, level: int = logging.DEBUG) -> None: 33 msg = f'{msg}: %s' 35 logger.log(level, msg, str(args)) 37 logger.log(level, msg, shlex.join(args))
|
A D | qemu_adapter.py | 41 msg = 'Cannot establish communication with QEMU device.' 42 logger.error(msg) 43 raise TwisterHarnessException(msg)
|
/scripts/coccinelle/ |
A D | boolean.cocci | 49 msg = "WARNING: Violation to rule 14.4 (Controlling expression shall have essentially Boolean type)" 50 coccilib.report.print_report(p[0], msg) 78 msg = "WARNING: Violation to rule 14.4 (Controlling expression shall have essentially Boolean type)" 79 coccilib.report.print_report(p[0], msg) 99 msg = "WARNING: Violation to rule 14.4 (Controlling expression shall have essentially Boolean type)" 100 coccilib.report.print_report(p[0], msg)
|
A D | same_identifier.cocci | 32 msg = "WARNING: Violation to rule 5.7 (Tag name should be unique) tag: {}".format(v) 34 coccilib.report.print_report(p[0], msg) 53 msg = "WARNING: Violation to rule 5.7 (Tag name should be unique) tag: {}".format(v) 55 coccilib.report.print_report(p[0], msg) 74 msg = "WARNING: Violation to rule 5.7 (Tag name should be unique) tag: {}".format(v) 76 coccilib.report.print_report(p[0], msg)
|
A D | unsigned_lesser_than_zero.cocci | 25 msg = "WARNING: Unsigned expression compared with zero." 26 coccilib.org.print_todo(p[0], msg) 32 msg = "WARNING: Unsigned expression compared with zero." 33 coccilib.report.print_report(p[0], msg)
|
A D | reserved_names.cocci | 47 msg = "WARNING: Violation to rule 21.2 (Should not used a reserved identifier) - {}".format(v) 51 coccilib.report.print_report(p[0], msg) 66 msg = "WARNING: Violation to rule 21.2 (Should not used a reserved identifier) - {}".format(v) 70 coccilib.report.print_report(p[0], msg) 88 msg = "WARNING: Violation to rule 21.2 (Should not used a reserved identifier) - {}".format(v) 92 coccilib.report.print_report(p[0], msg)
|
A D | int_ms_to_timeout.cocci | 91 msg = "WARNING: replace constant {} with timeout in {}".format(C, fn) 92 coccilib.report.print_report(p[0], msg); 160 msg = "WARNING: use K_SECONDS() for timeout in {}".format(fn) 161 coccilib.report.print_report(p[0], msg); 169 msg = "NOTE: use K_SECONDS() for timeout in {}".format(fn) 170 coccilib.report.print_report(p[0], msg); 224 msg = "WARNING: replace integer parameter {} with timeout in {}".format(param, fn) 225 coccilib.report.print_report(p[0], msg); 278 msg = "WARNING: replace timeout-valued delay with millisecond duration".format() 279 coccilib.report.print_report(p[0], msg); [all …]
|
A D | ms_timeout.cocci | 62 msg = "WARNING: [msl1] replace constant {} with ms duration in {}".format(T, fn) 63 coccilib.report.print_report(p[0], msg); 118 msg = "WARNING: [msl2] replace constant {} with ms duration in {}".format(T, fn) 119 coccilib.report.print_report(p[0], msg); 176 msg = "WARNING: [msl3] replace constant {} with ms duration in {}".format(T, fn) 177 coccilib.report.print_report(p[0], msg);
|
A D | identifier_length.cocci | 29 …msg="WARNING: Violation to rule 5.1 or 5.2 (Identifiers shall be distinct) %s length %d > 31" % (i… 30 coccilib.report.print_report(pos[0], msg)
|
A D | find_dev_usage.cocci | 25 msg = "ERROR: in {} calling {} param with {}, \ 27 coccilib.report.print_report(p[0], msg) 29 msg = "WARNING: in {} calling {} param with {}, \ 31 coccilib.report.print_report(p[0], msg)
|
A D | deref_null.cocci | 97 msg="ERROR: %s is NULL but dereferenced." % (x) 98 coccilib.report.print_report(p[0], msg) 107 msg="ERROR: %s is NULL but dereferenced." % (x) 108 msg_safe=msg.replace("[","@(").replace("]",")") 157 msg="ERROR: %s is NULL but dereferenced." % (x) 158 coccilib.report.print_report(p[0], msg) 166 msg="ERROR: %s is NULL but dereferenced." % (x) 167 msg_safe=msg.replace("[","@(").replace("]",")")
|
/scripts/pylib/twister/twisterlib/ |
A D | log_helper.py | 16 def log_command(logger, msg, args): argument 29 msg = f'{msg}: %s' 31 logger.debug(msg, str(args)) 33 logger.debug(msg, shlex.join(args))
|
A D | error.py | 31 msg = f'{cls.__name__} assigned status {value}, which could not be cast to a TwisterStatus.' 32 super().__init__(msg)
|
A D | cmakecache.py | 143 msg = 'invalid value {} type {}' 144 raise RuntimeError(msg.format(value, type(value))) 156 msg = 'improper type {} for value {}, expecting CMakeCacheEntry' 157 raise TypeError(msg.format(type(entry), entry))
|
/scripts/kconfig/ |
A D | kconfig.py | 169 msg = f"{sym.name_and_loc} was assigned the value '{user_value}'" \ 186 msg += "Check these unsatisfied dependencies: " + \ 189 warn(msg + SYM_INFO_HINT.format(sym)) 336 def warn(msg): argument 341 print("\n" + textwrap.fill("warning: " + msg, 100) + "\n", file=sys.stderr) 344 def err(msg): argument 345 sys.exit("\n" + textwrap.fill("error: " + msg, 100) + "\n")
|
/scripts/tracing/ |
A D | parse_ctf.py | 56 for msg in msg_it: 58 if not isinstance(msg, bt2._EventMessageConst): 61 ns_from_origin = msg.default_clock_snapshot.ns_from_origin 62 event = msg.event
|
/scripts/west_commands/ |
A D | export.py | 56 msg = [line for line in lines if not line.startswith('-- ')] 57 self.inf('\n'.join(msg))
|
A D | zephyr_ext_common.py | 35 def check_force(self, cond, msg): argument 46 self.err(msg)
|
/scripts/build/ |
A D | gen_strsignal_table.py | 40 msg = match[3] 43 msgs[symbol] = msg
|
A D | gen_strerror_table.py | 45 msg = match[3] 48 msgs[symbol] = msg
|
/scripts/ |
A D | get_maintainer.py | 521 def ferr(msg): argument 522 _err("{}: {}".format(maints_path, msg)) # Prepend the filename 592 area_name, e.msg)) 633 def _err(msg): argument 634 raise MaintainersError(msg) 637 def _giterr(msg): argument 638 raise GitError(msg) 641 def _serr(msg): argument 644 sys.exit("{}: error: {}".format(sys.argv[0], msg))
|
/scripts/utils/ |
A D | migrate_posix_kconfigs.py | 106 msg = MESSAGES.get(longest) 107 if msg:
|