Home
last modified time | relevance | path

Searched refs:tmp_path (Results 1 – 18 of 18) sorted by relevance

/scripts/west_commands/tests/
A Dtest_nxp_s32dbg.py121 def s32dbg(runner_config, tmp_path): argument
125 (tmp_path / RC_KERNEL_ELF).touch()
126 os.chdir(tmp_path)
142 def fix_up_runner_config(runner_config, tmp_path): argument
145 zephyr = tmp_path / 'zephyr'
149 to_replace['build_dir'] = tmp_path
197 s32dbg_args, expected, osname, s32dbg, tmp_path): argument
200 temporary_dir.return_value.__enter__.return_value = tmp_path
201 gdb_script = tmp_path / 'runner.nxp_s32dbg'
234 temporary_dir.return_value.__enter__.return_value = tmp_path
[all …]
/scripts/pylib/pytest-twister-harness/tests/device/
A Dbinary_adapter_test.py30 def fixture_device_adapter(tmp_path: Path) -> Generator[NativeSimulatorAdapter, None, None]:
31 build_dir = tmp_path / 'build_dir'
205 def test_if_custom_binary_adapter_get_command_returns_proper_string(patched_which, tmp_path: Path) …
206 device = CustomSimulatorAdapter(DeviceConfig(build_dir=tmp_path, type='custom'))
209 assert device.command == ['west', 'build', '-d', str(tmp_path), '-t', 'run']
213 def test_if_custom_binary_adapter_raise_exception_when_west_not_found(patched_which, tmp_path: Path…
214 device = CustomSimulatorAdapter(DeviceConfig(build_dir=tmp_path, type='custom'))
219 def test_if_unit_binary_adapter_get_command_returns_proper_string(tmp_path: Path) -> None:
220 device = UnitSimulatorAdapter(DeviceConfig(build_dir=tmp_path, type='unit'))
223 assert device.command == [str(tmp_path / 'testbinary')]
A Dhardware_adapter_test.py18 def fixture_adapter(tmp_path) -> HardwareAdapter: argument
19 build_dir = tmp_path / 'build_dir'
192 def test_device_log_correct_error_handle(patched_popen, device: HardwareAdapter, tmp_path: Path) ->…
196 device.device_config.build_dir = tmp_path
198 'west', 'flash', '--skip-rebuild', '--build-dir', str(tmp_path),
A Dqemu_adapter_test.py18 def fixture_device_adapter(tmp_path) -> Generator[QemuAdapter, None, None]: argument
19 build_dir = tmp_path / 'build_dir'
/scripts/tests/twister/
A Dtest_platform.py192 tmp_path, argument
357 (tmp_path / filename).parent.mkdir(parents=True, exist_ok=True)
358 (tmp_path / filename).write_text(content)
360 roots = list(map(tmp_path.joinpath, roots))
A Dtest_harness.py279 def test_robot_configure(tmp_path): argument
289 outdir = tmp_path / "gtest_out"
310 def test_robot_handle(tmp_path): argument
320 outdir = tmp_path / "gtest_out"
370 outdir = tmp_path / "gtest_out"
424 outdir = tmp_path / "gtest_out"
485 outdir = tmp_path / "gtest_out"
547 outdir = tmp_path / "gtest_out"
645 outdir = tmp_path / "gtest_out"
795 outdir = tmp_path / "ztest_out"
[all …]
A Dtest_testplan.py262 class_env.outdir = tmp_path
550 tmp_path, argument
562 tmp_tc = tmp_path / 'test_config.yaml'
566 tmp_qf = tmp_path / qf
615 tmp_path, argument
733 outdir=tmp_path,
1116 tmp_path, argument
1121 env = mock.Mock(board_roots=[tmp_path / 'boards'], soc_roots=[tmp_path], arch_roots=[tmp_path])
1129 assert [tmp_path] == board_roots
1130 assert [tmp_path] == soc_roots
[all …]
A Dtest_scl.py252 def test_yaml_load_empty_file(tmp_path): argument
253 quarantine_file = tmp_path / 'empty_quarantine.yml'
A Dtest_testinstance.py608 def test_testinstance_get_elf_file(caplog, tmp_path, testinstance, sysbuild, expected_error): argument
609 sysbuild_dir = tmp_path / 'sysbuild'
641 def test_testinstance_get_buildlog_file(tmp_path, testinstance, create_build_log, expected_error): argument
643 build_dir = tmp_path / 'build'
A Dtest_runner.py40 def mocked_instance(tmp_path): argument
49 build_dir = tmp_path / 'build_dir'
1471 tmp_path, argument
1519 pb.options.outdir = tmp_path
A Dtest_handlers.py42 def mocked_instance(tmp_path): argument
49 build_dir = tmp_path / 'build_dir'
1978 tmp_path, argument
/scripts/pylib/pytest-twister-harness/tests/
A Dplugin_test.py31 tmp_path: Path,
48 build_dir = tmp_path / 'build_dir'
A Dconftest.py46 tmp_path: Path, shell_simulator_path: str
48 build_dir = tmp_path / 'build_dir'
/scripts/dts/python-devicetree/tests/
A Dtest_dtlib.py330 def test_incbin(tmp_path): argument
1023 def test_include_curdir(tmp_path): argument
1027 with temporary_chdir(tmp_path):
1061 def test_include_is_lexical(tmp_path): argument
1076 subdir_1 = tmp_path / "subdir-1"
1083 subdir_2 = tmp_path / "subdir-2"
1098 with temporary_chdir(tmp_path):
1110 def test_include_misc(tmp_path): argument
1122 with temporary_chdir(tmp_path):
1139 def test_include_recursion(tmp_path): argument
[all …]
A Dtest_edtlib.py811 def test_slice_errs(tmp_path): argument
814 dts_file = tmp_path / "error.dts"
868 def test_bad_compatible(tmp_path): argument
872 dts_file = tmp_path / "error.dts"
/scripts/tests/twister_blackbox/
A Dconftest.py70 def provide_out(tmp_path, request): argument
79 out_container_path = tmp_path / 'blackbox-out-container'
/scripts/west_commands/completion/
A Dwest-completion.fish211 set -l tmp_path (path normalize /(string join "/" $cwd_split))
213 if test -d $tmp_path/.west
214 echo "$tmp_path"
218 if test -z "$tmp_path" -o $tmp_path = "/"
223 set tmp_path (string join "/" $cwd_split)
/scripts/ci/
A Dcheck_compliance.py819 tmp_path = module_path.joinpath(meta['build']['settings'][entry])
821 if Path(tmp_path.joinpath(folder)).is_dir():
824 cwd=tmp_path, ignore_non_zero=True)

Completed in 42 milliseconds