Home
last modified time | relevance | path

Searched refs:runner_config (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/scripts/west_commands/tests/
Dtest_bossac.py140 def adjust_runner_config(runner_config, tmpdir, dotconfig): argument
149 return runner_config._replace(build_dir=os.fspath(tmpdir))
168 def test_bossac_init(cc, req, get_cod_par, sup, runner_config, tmpdir): argument
187 runner_config = adjust_runner_config(runner_config, tmpdir, DOTCONFIG_STD)
188 runner = BossacBinaryRunner(runner_config, port=TEST_BOSSAC_PORT)
201 def test_bossac_create(cc, req, get_cod_par, sup, runner_config, tmpdir): argument
224 runner_config = adjust_runner_config(runner_config, tmpdir, DOTCONFIG_STD)
225 runner = BossacBinaryRunner.create(runner_config, arg_namespace)
238 def test_bossac_create_with_speed(cc, req, get_cod_par, sup, runner_config, tmpdir): argument
262 runner_config = adjust_runner_config(runner_config, tmpdir, DOTCONFIG_STD)
[all …]
Dtest_mdb.py136 def adjust_runner_config(runner_config, tmpdir, dotconfig): argument
147 return runner_config._replace(build_dir=fspath(tmpdir))
153 def mdb(runner_config, tmpdir, mdb_runner): argument
165 return mdb_runner(runner_config, TEST_TARGET, **args)
170 return mdb_runner.create(runner_config, arg_namespace)
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
180 runner_config = adjust_runner_config(runner_config, tmpdir, DOTCONFIG_NO_HOSTLINK)
181 return mdb(runner_config, tmpdir, MdbHwBinaryRunner)
[all …]
Dtest_xsdb.py48 def test_xsdbbinaryrunner_init(check_call, path_exists, tc, runner_config): argument
53 cfg=runner_config,
67 def test_xsdbbinaryrunner_create(check_call, path_exists, tc, runner_config): argument
83 runner = XSDBBinaryRunner.create(runner_config, arg_namespace)
Dtest_dediprog.py51 def test_dediprog_init(cc, req, tc, runner_config): argument
54 runner = DediProgBinaryRunner(runner_config, spi_image=spi_image,
66 def test_dediprog_create(cc, req, tc, runner_config): argument
75 runner = DediProgBinaryRunner.create(runner_config, arg_namespace)
Dtest_gd32isp.py50 def test_gd32isp_init(cc, req, runner_config): argument
51 runner = Gd32ispBinaryRunner(runner_config, TEST_GD32ISP_DEV)
59 def test_gd32isp_create(cc, req, runner_config): argument
68 runner = Gd32ispBinaryRunner.create(runner_config, arg_namespace)
Dtest_dfu_util.py81 def test_dfu_util_init(cc, req, find_device, tc, runner_config): argument
84 runner = DfuUtilBinaryRunner(runner_config, TEST_PID, alt, img, exe=exe,
111 def test_dfu_util_create(cc, req, gfa, find_device, tc, runner_config, tmpdir): argument
129 runner_config = runner_config._replace(build_dir=os.fspath(tmpdir))
134 runner = DfuUtilBinaryRunner.create(runner_config, arg_namespace)
Dtest_nrf.py481 def fix_up_runner_config(test_case, runner_config, tmpdir): argument
499 return runner_config._replace(**to_replace)
514 return runner_config._replace(**to_replace)
516 def check_expected(tool, test_case, check_fn, get_snr, tmpdir, runner_config): argument
534 [call(x) for x in cmds(tmpdir, runner_config.hex_file)])
551 runner_config, tmpdir): argument
555 runner_config = fix_up_runner_config(test_case, runner_config, tmpdir)
559 runner = cls(runner_config,
573 runner_config)
583 runner_config, tmpdir): argument
[all …]
Dtest_stm32flash.py78 def test_stm32flash_init(cc, req, action, runner_config): argument
84 runner = Stm32flashBinaryRunner(runner_config, device=TEST_DEVICE,
97 def test_stm32flash_create(cc, req, action, runner_config): argument
108 runner = Stm32flashBinaryRunner.create(runner_config, arg_namespace)
Dtest_blackmagicprobe.py62 def test_blackmagicprobe_init(cc, req, command, runner_config): argument
64 runner = BlackMagicProbeRunner(runner_config, TEST_GDB_SERIAL)
71 def test_blackmagicprobe_create(cc, req, command, runner_config): argument
77 runner = BlackMagicProbeRunner.create(runner_config, arg_namespace)
84 def test_blackmagicprobe_connect_rst(cc, req, command, runner_config): argument
90 runner = BlackMagicProbeRunner.create(runner_config, arg_namespace)
Dtest_stm32cubeprogrammer.py390 check_call, require, path_exists, path_home, system, tc, runner_config argument
399 cfg=runner_config,
426 check_call, require, path_exists, path_home, system, tc, runner_config argument
458 runner = STM32CubeProgrammerBinaryRunner.create(runner_config, arg_namespace)
Dtest_nxp_s32dbg.py120 def s32dbg(runner_config, tmp_path): argument
127 runner_config_patched = fix_up_runner_config(runner_config, tmp_path)
141 def fix_up_runner_config(runner_config, tmp_path): argument
150 return runner_config._replace(**to_replace)
Dconftest.py23 def runner_config(): function
Dtest_pyocd.py129 def pyocd(runner_config, tmpdir): argument
142 return PyOcdBinaryRunner(runner_config, TEST_TARGET, **args)
147 return PyOcdBinaryRunner.create(runner_config, arg_namespace)
Dtest_canopen_program.py46 def test_canopen_program_create(cpd, test_case, runner_config): argument
78 runner = CANopenBinaryRunner.create(runner_config, arg_namespace)
/Zephyr-latest/scripts/west_commands/
Drun_common.py482 runner_config = get_runner_config(build_dir, yaml_path, runners_yaml, args)
488 runner = runner_cls.create(runner_config, args)
804 runner_config = get_runner_config(build_dir, yaml_path, runners_yaml)
805 for field, value in zip(runner_config._fields, runner_config):