Home
last modified time | relevance | path

Searched refs:tmpdir (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.6.0/scripts/west_commands/tests/
Dtest_mdb.py136 def adjust_runner_config(runner_config, tmpdir, dotconfig): argument
141 zephyr = tmpdir / 'zephyr'
146 print("" + fspath(tmpdir))
147 return runner_config._replace(build_dir=fspath(tmpdir))
153 def mdb(runner_config, tmpdir, mdb_runner): argument
161 tmpdir.ensure(RC_KERNEL_ELF)
162 tmpdir.chdir()
175 def mdb_nsim(runner_config, tmpdir): argument
176 return mdb(runner_config, tmpdir, MdbNsimBinaryRunner)
179 def mdb_hw_no_hl(runner_config, tmpdir): argument
[all …]
Dtest_bossac.py133 def adjust_runner_config(runner_config, tmpdir, dotconfig): argument
138 zephyr = tmpdir / 'zephyr'
142 return runner_config._replace(build_dir=os.fspath(tmpdir))
161 def test_bossac_init(cc, req, get_cod_par, sup, runner_config, tmpdir): argument
179 runner_config = adjust_runner_config(runner_config, tmpdir, DOTCONFIG_STD)
193 def test_bossac_create(cc, req, get_cod_par, sup, runner_config, tmpdir): argument
215 runner_config = adjust_runner_config(runner_config, tmpdir, DOTCONFIG_STD)
229 def test_bossac_create_with_speed(cc, req, get_cod_par, sup, runner_config, tmpdir): argument
253 runner_config = adjust_runner_config(runner_config, tmpdir, DOTCONFIG_STD)
268 runner_config, tmpdir): argument
[all …]
Dtest_nrf.py280 ((lambda tmpdir, infile: \
283 os.fspath(tmpdir / 'GENERATED_CP_NETWORK_' + Path(infile).name),
288 os.fspath(tmpdir / 'GENERATED_CP_APPLICATION_' + Path(infile).name),
295 ((lambda tmpdir, infile: \
298 os.fspath(tmpdir / 'GENERATED_CP_NETWORK_' + Path(infile).name),
303 os.fspath(tmpdir / 'GENERATED_CP_APPLICATION_' + Path(infile).name),
310 ((lambda tmpdir, infile: \
313 os.fspath(tmpdir / 'GENERATED_CP_NETWORK_' + Path(infile).name),
318 os.fspath(tmpdir / 'GENERATED_CP_APPLICATION_' + Path(infile).name),
325 ((lambda tmpdir, infile: \
[all …]
Dtest_dfu_util.py111 def test_dfu_util_create(cc, req, gfa, find_device, tc, runner_config, tmpdir): argument
126 (tmpdir / 'zephyr').mkdir()
127 with open(os.fspath(tmpdir / 'zephyr' / '.config'), 'w') as f:
129 runner_config = runner_config._replace(build_dir=os.fspath(tmpdir))
Dtest_pyocd.py129 def pyocd(runner_config, tmpdir): argument
137 tmpdir.ensure(RC_KERNEL_HEX)
138 tmpdir.ensure(RC_KERNEL_ELF)
139 tmpdir.chdir()
/Zephyr-Core-3.6.0/scripts/tests/build/
Dtest_subfolder_list.py38 def test_subfolder_list(tmpdir): argument
40 tmpdir.chdir()
42 iut_dir_names = iut.get_subfolder_list((str(tmpdir)))
46 def test_links(tmpdir): argument
48 tmpdir.chdir()
49 links_dir = str(tmpdir)
63 tmpdir.mkdir(dirs_dir)
69 tmpdir.chdir()
77 def test_gen_out_file(tmpdir): argument
79 tmpdir.chdir()
[all …]
/Zephyr-Core-3.6.0/scripts/kconfig/
Dlint.py222 tmpdir = tempfile.mkdtemp()
224 "--kconfig-out", os.path.join(tmpdir, "Kconfig.modules")))
225 return tmpdir
/Zephyr-Core-3.6.0/scripts/west_commands/runners/
Dnxp_s32dbg.py318 with tempfile.TemporaryDirectory(suffix='nxp_s32dbg') as tmpdir:
319 gdb_cmds = Path(tmpdir) / 'runner.nxp_s32dbg'
/Zephyr-Core-3.6.0/scripts/release/
Dlist_devicetree_bindings_changes.py375 with tempfile.TemporaryDirectory(prefix='dt_bindings_worktree') as tmpdir:
376 with git_worktree(tmpdir, commit):
377 tmpdir_bindings = Path(tmpdir) / 'dts' / 'bindings'
/Zephyr-Core-3.6.0/scripts/tests/twister/
Dtest_runner.py1589 tmpdir, argument
1604 twister_dir = tmpdir.mkdir('twister')
1608 dummy_dir = tmpdir.mkdir('dummy_dir')
1612 zephyr = tmpdir.mkdir('zephyr')
1616 dummy_link_dir = tmpdir.join('dummy_link_dir')
1619 addition_al = tmpdir.join('addition.al')
1623 instance_mock.build_dir = tmpdir
1631 files_left = [p.name for p in list(pathlib.Path(tmpdir).glob('**/*'))]