Home
last modified time | relevance | path

Searched refs:kwargs (Results 1 – 25 of 63) sorted by relevance

123

/scripts/west_commands/runners/
A Dnsim.py61 def do_run(self, command, **kwargs): argument
63 kwargs['nsim-cfg'] = path.join(self.cfg.board_dir, 'support',
67 self.do_flash(**kwargs)
69 self.do_debug(**kwargs)
71 self.debugserver(**kwargs)
73 def do_flash(self, **kwargs): argument
74 config = kwargs['nsim-cfg']
79 def do_debug(self, **kwargs): argument
83 config = kwargs['nsim-cfg']
95 def debugserver(self, **kwargs): argument
[all …]
A Dspsdk.py84 def do_run(self, command, **kwargs): argument
88 self.flash(**kwargs)
90 def flash(self, **kwargs): argument
93 kwargs = {}
95 kwargs['stdout'] = subprocess.DEVNULL
105 self.check_call(cmd, **kwargs)
109 self.check_call(cmd, **kwargs)
112 self.check_call(cmd, **kwargs)
115 self.check_call(cmd, **kwargs)
118 self.check_call(cmd, **kwargs)
[all …]
A Dnative.py55 def do_run(self, command: str, **kwargs): argument
57 self.do_flash(**kwargs)
59 self.do_debug(**kwargs)
61 self.do_debugserver(**kwargs)
65 def do_flash(self, **kwargs): argument
69 def do_debug(self, **kwargs): argument
78 def do_debugserver(self, **kwargs): argument
A Dblackmagicprobe.py156 def bmp_flash(self, command, **kwargs): argument
190 def bmp_attach(self, command, **kwargs): argument
208 def bmp_debug(self, command, **kwargs): argument
221 def do_run(self, command, **kwargs): argument
227 self.bmp_flash(command, **kwargs)
229 self.bmp_debug(command, **kwargs)
231 self.bmp_attach(command, **kwargs)
233 self.bmp_flash(command, **kwargs)
A Dprobe_rs.py80 def do_run(self, command, **kwargs): argument
83 self.do_flash(**kwargs)
85 self.do_debug_debugserver(command, **kwargs)
87 def do_flash(self, **kwargs): argument
99 def do_debug_debugserver(self, command, **kwargs): argument
A Dsy1xx.py47 def do_run(self, command, **kwargs): argument
49 self.flash(**kwargs)
51 def flash(self, **kwargs): argument
A Drenode.py49 def do_run(self, command, **kwargs): argument
50 self.run_test(**kwargs)
52 def run_test(self, **kwargs): argument
A Drenode-robot.py48 def do_run(self, command, **kwargs): argument
49 self.run_test(**kwargs)
51 def run_test(self, **kwargs): argument
A Dlinkserver.py119 def do_run(self, command, **kwargs): argument
125 self.flash(**kwargs)
169 def do_erase(self, **kwargs): argument
186 def flash(self, **kwargs): argument
220 kwargs = {}
223 kwargs['stderr'] = subprocess.DEVNULL
225 kwargs['stdout'] = subprocess.DEVNULL
227 self.check_call(linkserver_cmd, **kwargs)
A Dcore.py394 action = DeprecatedAction(*args, **kwargs)
736 def run(self, command: str, **kwargs): argument
743 self.do_run(command, **kwargs)
746 def do_run(self, command: str, **kwargs): argument
848 self.run_client(client, **kwargs)
853 def run_client(self, client, **kwargs): argument
857 self.check_call(client, **kwargs)
868 def call(self, cmd: list[str], **kwargs) -> int: argument
878 return subprocess.call(cmd, **kwargs)
880 def check_call(self, cmd: list[str], **kwargs): argument
[all …]
A Dtrace32.py83 def do_run(self, command, **kwargs) -> None: argument
111 self.flash(**kwargs)
113 self.debug(**kwargs)
115 def flash(self, **kwargs) -> None: argument
131 def debug(self, **kwargs) -> None: argument
A Dpyocd.py141 def do_run(self, command, **kwargs): argument
144 self.rtt(**kwargs)
146 self.flash(**kwargs)
148 self.debug_debugserver(command, **kwargs)
150 def flash(self, **kwargs): argument
186 def debug_debugserver(self, command, **kwargs): argument
A Dintel_adsp.py81 def do_run(self, command, **kwargs): argument
86 self.flash(**kwargs)
91 def flash(self, **kwargs): argument
A Dopenocd.py251 def do_run(self, command, **kwargs): argument
264 self.do_flash_elf(**kwargs)
266 self.do_flash(**kwargs)
268 self.do_attach_debug_rtt(command, **kwargs)
270 self.do_load(**kwargs)
272 self.do_debugserver(**kwargs)
274 def do_flash(self, **kwargs): argument
333 def do_flash_elf(self, **kwargs): argument
375 def do_attach_debug_rtt(self, command, **kwargs): argument
475 def do_debugserver(self, **kwargs): argument
A Drfp.py127 def do_run(self, command, **kwargs): argument
129 self.do_flash(**kwargs)
133 def do_flash(self, **kwargs): argument
A Djlink.py309 def do_run(self, command, **kwargs): argument
370 self.flash(**kwargs)
515 def run_flash_cmd(self, fname, flash_file, **kwargs): argument
559 kwargs = {}
561 kwargs['stdout'] = subprocess.DEVNULL
562 self.check_call(cmd, **kwargs)
564 def flash(self, **kwargs): argument
575 self.run_flash_cmd(fname, flash_file, **kwargs)
577 self.run_flash_cmd(fname, None, **kwargs)
A Dqemu.py30 def do_run(self, command, **kwargs): argument
A Dnxp_s32dbg.py257 def do_run(self, command: str, **kwargs) -> None: argument
280 self.do_attach_debug(command, **kwargs)
282 self.do_debugserver(**kwargs)
284 def do_attach_debug(self, command: str, **kwargs) -> None: argument
329 def do_debugserver(self, **kwargs) -> None: argument
/scripts/west_commands/
A Dbuild_helpers.py40 def _resolve_build_dir(fmt, guess, cwd, **kwargs): argument
42 kwargs = {k: v for k, v in kwargs.items() if v is not None}
44 source_dir = kwargs.get('source_dir')
47 kwargs['source_dir'] = os.path.relpath(source_dir, cwd)
50 kwargs['source_dir'] = ''
53 return fmt.format(**kwargs)
71 b = Path(str(b).format(**kwargs))
85 def find_build_dir(dir, guess=False, **kwargs): argument
103 default = _resolve_build_dir(default, guess, cwd, **kwargs)
A Dzcmake.py51 kwargs = dict()
53 kwargs['stdout'] = subprocess.PIPE
55 kwargs['stderr'] = subprocess.STDOUT
57 kwargs['cwd'] = cwd
65 p = subprocess.Popen(cmd, env=env, **kwargs)
77 def run_build(build_directory, **kwargs): argument
88 extra_args = kwargs.pop('extra_args', [])
109 return run_cmake(['--build', build_directory] + extra_args, env=cmake_env, **kwargs)
/scripts/pylib/twister/twisterlib/
A Djobserver.py22 def __init__(self, release_func, *args, **kwargs): argument
25 self.kwargs = kwargs
32 self.release_func(*self.args, **self.kwargs)
52 def popen(self, argv, **kwargs): argument
60 kwargs.setdefault("env", os.environ)
61 kwargs.setdefault("pass_fds", [])
62 kwargs["env"].update(self.env())
63 kwargs["pass_fds"] += self.pass_fds()
65 return subprocess.Popen(argv, **kwargs)
/scripts/tests/twister/
A Dtest_testsuite.py257 def assert_mmap(*args, **kwargs): argument
258 assert expected.items() <= kwargs.items()
261 def raise_exception(*args, **kwargs): argument
461 def mock_chdir(path, *args, **kwargs): argument
491 def mock_glob(fmt, *args, **kwargs): argument
632 def mock_fsdp(path, *args, **kwargs): argument
635 def mock_find(path, *args, **kwargs): argument
643 def mock_sf(filename, *args, **kwargs): argument
649 def mock_stat(filename, *args, **kwargs): argument
698 def mock_isdir(path, *args, **kwargs): argument
A Dtest_scl.py141 def mock_load(*args, **kwargs): argument
192 def mock_load(file_name, *args, **kwargs): argument
198 def mock_validate(data, schema, *args, **kwargs): argument
229 def mock_validate(raise_exception, *args, **kwargs): argument
235 def mock_core(source_data, schema_data, *args, **kwargs): argument
A Dtest_environment.py186 def mock_calc(*args, **kwargs): argument
187 return mock_calc_parent.child(args, kwargs)
414 def mock_run(command, *args, **kwargs): argument
501 def mock_which(name, *args, **kwargs): argument
504 def mock_popen(command, *args, **kwargs): argument
/scripts/tests/build_helpers/
A Dtest_domains.py42 def mock_open(*args, **kwargs): argument
44 return mock.mock_open(read_data=f_contents)(args, kwargs)
119 def mock_domain(name, build_dir, *args, **kwargs): argument

Completed in 32 milliseconds

123