| /Zephyr-4.3.0/scripts/west_commands/tests/ |
| D | test_nxp_s32dbg.py | 121 def s32dbg(runner_config, tmp_path): argument 125 (tmp_path / RC_KERNEL_ELF).touch() 126 os.chdir(tmp_path) 128 runner_config_patched = fix_up_runner_config(runner_config, 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' [all …]
|
| /Zephyr-4.3.0/scripts/pylib/pytest-twister-harness/tests/helpers/ |
| D | test_config_reader.py | 23 def config_reader(tmp_path) -> ConfigReader: argument 24 config_file = tmp_path / "config" 30 def test_if_raises_exception_path_is_directory(tmp_path): argument 31 build_dir = tmp_path / "build" 37 def test_if_raises_exception_when_path_does_not_exist(tmp_path): argument 38 build_dir = tmp_path / "build"
|
| /Zephyr-4.3.0/scripts/pylib/pytest-twister-harness/tests/device/ |
| D | binary_adapter_test.py | 29 def fixture_device_adapter(tmp_path: Path) -> Generator[NativeSimulatorAdapter, None, None]: 30 build_dir = tmp_path / 'build_dir' 178 def test_if_custom_binary_adapter_get_command_returns_proper_string(patched_which, tmp_path: Path) … 179 device = CustomSimulatorAdapter(DeviceConfig(build_dir=tmp_path, type='custom')) 182 assert device.command == ['west', 'build', '-d', str(tmp_path), '-t', 'run'] 186 def test_if_custom_binary_adapter_raise_exception_when_west_not_found(patched_which, tmp_path: Path… 187 device = CustomSimulatorAdapter(DeviceConfig(build_dir=tmp_path, type='custom')) 192 def test_if_unit_binary_adapter_get_command_returns_proper_string(tmp_path: Path) -> None: 193 device = UnitSimulatorAdapter(DeviceConfig(build_dir=tmp_path, type='unit')) 196 assert device.command == [str(tmp_path / 'testbinary')]
|
| D | qemu_adapter_test.py | 19 def fixture_device_adapter(tmp_path) -> Generator[QemuAdapter, None, None]: argument 20 build_dir = tmp_path / 'build_dir'
|
| D | hardware_adapter_test.py | 18 def fixture_adapter(tmp_path) -> HardwareAdapter: argument 19 build_dir = tmp_path / 'build_dir' 203 def test_device_log_correct_error_handle(patched_popen, device: HardwareAdapter, tmp_path: Path) ->… 207 device.device_config.build_dir = tmp_path 209 'west', 'flash', '--no-rebuild', '--build-dir', str(tmp_path),
|
| /Zephyr-4.3.0/scripts/tests/twister/ |
| D | test_harness.py | 274 def test_robot_configure(tmp_path): argument 284 outdir = tmp_path / "gtest_out" 305 def test_robot_handle(tmp_path): argument 315 outdir = tmp_path / "gtest_out" 346 def test_robot_run_robot_test(tmp_path, caplog, exp_out, returncode, expected_status): argument 365 outdir = tmp_path / "gtest_out" 409 def test_console_configure(tmp_path, type, num_patterns): argument 419 outdir = tmp_path / "gtest_out" 470 tmp_path, line_type, ordered_val, exp_state, line, exp_fault, exp_capture argument 480 outdir = tmp_path / "gtest_out" [all …]
|
| D | test_platform.py | 185 tmp_path, argument 350 (tmp_path / filename).parent.mkdir(parents=True, exist_ok=True) 351 (tmp_path / filename).write_text(content) 353 roots = list(map(tmp_path.joinpath, roots))
|
| D | test_testplan.py | 351 def test_add_instances_short(tmp_path, class_env, all_testsuites_dict, platforms_list): argument 358 class_env.outdir = tmp_path 561 def test_testplan_parse_configuration(tmp_path, config_yaml, expected_scenarios): argument 565 tmp_config_file = tmp_path / 'config_file.yaml' 646 tmp_path, argument 658 tmp_tc = tmp_path / 'test_config.yaml' 662 tmp_qf = tmp_path / qf 671 quarantine_list=[tmp_path / qf for qf in ql], 711 tmp_path, argument 751 twister_file = tmp_path / 'twister.json' [all …]
|
| D | test_scl.py | 246 def test_yaml_load_empty_file(tmp_path): argument 247 quarantine_file = tmp_path / 'empty_quarantine.yml'
|
| D | test_testinstance.py | 603 def test_testinstance_get_elf_file(caplog, tmp_path, testinstance, sysbuild, expected_error): argument 604 sysbuild_dir = tmp_path / 'sysbuild' 636 def test_testinstance_get_buildlog_file(tmp_path, testinstance, create_build_log, expected_error): argument 638 build_dir = tmp_path / 'build'
|
| D | test_handlers.py | 40 def mocked_instance(tmp_path): argument 47 build_dir = tmp_path / 'build_dir' 1983 tmp_path, argument
|
| D | test_runner.py | 32 def mocked_instance(tmp_path): argument 41 build_dir = tmp_path / 'build_dir' 1463 tmp_path, argument 1511 pb.options.outdir = tmp_path
|
| /Zephyr-4.3.0/scripts/pylib/pytest-twister-harness/tests/ |
| D | plugin_test.py | 31 tmp_path: Path, 48 build_dir = tmp_path / 'build_dir'
|
| D | conftest.py | 46 tmp_path: Path, shell_simulator_path: str 48 build_dir = tmp_path / 'build_dir'
|
| /Zephyr-4.3.0/scripts/dts/python-devicetree/tests/ |
| D | test_dtlib.py | 330 def test_incbin(tmp_path): argument 336 open(tmp_path / "tmp_bin", "wb").write(b"\00\01\02\03") 371 include_path=(tmp_path,)) 1023 def test_include_curdir(tmp_path): argument 1027 with temporary_chdir(tmp_path): 1061 def test_include_is_lexical(tmp_path): argument 1066 with open(tmp_path / "tmp2.dts", "w") as f: 1071 with open(tmp_path / "tmp3.dts", "w") as f: 1076 subdir_1 = tmp_path / "subdir-1" 1083 subdir_2 = tmp_path / "subdir-2" [all …]
|
| D | test_edtlib.py | 828 def test_slice_errs(tmp_path): argument 831 dts_file = tmp_path / "error.dts" 885 def test_bad_compatible(tmp_path): argument 889 dts_file = tmp_path / "error.dts"
|
| /Zephyr-4.3.0/scripts/tests/twister_blackbox/ |
| D | conftest.py | 70 def provide_out(tmp_path, request): argument 79 out_container_path = tmp_path / 'blackbox-out-container'
|
| /Zephyr-4.3.0/scripts/west_commands/completion/ |
| D | west-completion.fish | 222 set -l tmp_path (path normalize /(string join "/" $cwd_split)) 224 if test -d $tmp_path/.west 225 echo "$tmp_path" 229 if test -z "$tmp_path" -o $tmp_path = "/" 234 set tmp_path (string join "/" $cwd_split)
|
| /Zephyr-4.3.0/scripts/ci/ |
| D | check_compliance.py | 1048 tmp_path = module_path.joinpath(meta['build']['settings'][entry]) 1050 if Path(tmp_path.joinpath(folder)).is_dir(): 1060 cwd=tmp_path,
|