Lines Matching refs:tmpdir

136 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
180 runner_config = adjust_runner_config(runner_config, tmpdir, DOTCONFIG_NO_HOSTLINK)
181 return mdb(runner_config, tmpdir, MdbHwBinaryRunner)
184 def mdb_hw_hl(runner_config, tmpdir): argument
185 runner_config = adjust_runner_config(runner_config, tmpdir, DOTCONFIG_HOSTLINK)
186 return mdb(runner_config, tmpdir, MdbHwBinaryRunner)
232 def test_flash_hw_no_hl(require, cc, test_case, mdb_hw_no_hl, tmpdir): argument
235 cc.assert_called_once_with(test_case['o'], cwd=tmpdir)
240 def test_flash_hw_hl(require, cc, test_case, mdb_hw_hl, tmpdir): argument
243 cc.assert_called_once_with(test_case['o'], cwd=tmpdir)
257 def test_debug_hw(require, pii, test_case, mdb_hw_no_hl, tmpdir): argument
260 pii.assert_called_once_with(test_case['o'], cwd=tmpdir)
265 def test_debug_hw_hl(require, pii, test_case, mdb_hw_hl, tmpdir): argument
268 pii.assert_called_once_with(test_case['o'], cwd=tmpdir)
283 def test_multicores_hw_no_hl(require, pii, cc, test_case, mdb_hw_no_hl, tmpdir): argument
286 cc_calls = [call(TEST_HW_CORE1, cwd=tmpdir), call(TEST_HW_CORE2, cwd=tmpdir)]
288 pii.assert_called_once_with(TEST_HW_CORES_LAUNCH_NO_HOSTLINK, cwd=tmpdir)
294 def test_multicores_hw_hl(require, pii, cc, test_case, mdb_hw_hl, tmpdir): argument
297 cc_calls = [call(TEST_HW_CORE1, cwd=tmpdir), call(TEST_HW_CORE2, cwd=tmpdir)]
299 pii.assert_called_once_with(TEST_HW_CORES_LAUNCH_HOSTLINK, cwd=tmpdir)