/Zephyr-Core-3.5.0/subsys/testsuite/ztest/src/ |
D | ztest_posix.c | 57 const char *cwd; in ztest_relative_filename() local 60 cwd = nsi_host_getcwd(buf, sizeof(buf)); in ztest_relative_filename() 61 if (cwd && strlen(file) > strlen(cwd) && !strncmp(file, cwd, strlen(cwd))) { in ztest_relative_filename() 62 return file + strlen(cwd) + 1; /* move past the trailing '/' */ in ztest_relative_filename()
|
/Zephyr-Core-3.5.0/scripts/west_commands/tests/ |
D | test_mdb.py | 206 cc.assert_called_once_with(test_case['o'], cwd=RC_BUILD_DIR) 214 pii.assert_called_once_with(test_case['o'], cwd=RC_BUILD_DIR) 223 cc_calls = [call(TEST_NSIM_CORE1, cwd=RC_BUILD_DIR), call(TEST_NSIM_CORE2, cwd=RC_BUILD_DIR)] 225 pii.assert_called_once_with(TEST_NSIM_CORES_LAUNCH, cwd=RC_BUILD_DIR) 235 cc.assert_called_once_with(test_case['o'], cwd=tmpdir) 243 cc.assert_called_once_with(test_case['o'], cwd=tmpdir) 260 pii.assert_called_once_with(test_case['o'], cwd=tmpdir) 268 pii.assert_called_once_with(test_case['o'], cwd=tmpdir) 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) [all …]
|
/Zephyr-Core-3.5.0/scripts/west_commands/ |
D | build_helpers.py | 39 def _resolve_build_dir(fmt, guess, cwd, **kwargs): argument 45 if escapes_directory(cwd, source_dir): 46 kwargs['source_dir'] = os.path.relpath(source_dir, cwd) 100 cwd = os.getcwd() 102 default = _resolve_build_dir(default, guess, cwd, **kwargs) 106 elif is_zephyr_build(cwd): 107 build_dir = cwd
|
D | run_tests.py | 36 subprocess.run(mypy, check=True, cwd=here) 40 subprocess.run(pytest, check=True, cwd=here)
|
D | zcmake.py | 29 def run_cmake(args, cwd=None, capture_output=False, dry_run=False): argument 54 if cwd: 55 kwargs['cwd'] = cwd 58 in_cwd = ' (in {})'.format(cwd) if cwd else ''
|
D | build.py | 596 run_cmake(cmake_args, cwd=self.build_dir, dry_run=self.args.dry_run)
|
/Zephyr-Core-3.5.0/scripts/footprint/ |
D | compare_footprint | 46 cwd=os.environ.get('ZEPHYR_BASE'), shell=True) 87 cwd=os.environ.get('ZEPHYR_BASE'), shell=True) 92 def sanity_results_filename(commit=None, cwd=os.environ.get('ZEPHYR_BASE')): argument 101 return os.path.join(cwd,'scripts', 'sanity_chk', file_name) 103 def git_checkout(commit, cwd=os.environ.get('ZEPHYR_BASE')): argument 105 stderr=subprocess.STDOUT, cwd=cwd, shell=True) 112 cwd=cwd, shell=True) 119 def run_sanity_footprint(commit=None, cwd=os.environ.get('ZEPHYR_BASE'), argument 128 cwd=cwd, shell=True) 151 cwd=tempfile.gettempdir(), shell=True) [all …]
|
/Zephyr-Core-3.5.0/scripts/kconfig/ |
D | lint.py | 166 cwd=modpath, check=False) 187 print(run(cmd, cwd=modpath, check=False), end="") 254 cwd=modpath).splitlines(): 293 def run(cmd, cwd=TOP_DIR, check=True): argument 303 cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd)
|
/Zephyr-Core-3.5.0/subsys/fs/ |
D | shell.c | 85 static char cwd[MAX_PATH_LEN] = "/"; variable 93 if (cwd[1] == '\0') { in create_abs_path() 101 strncpy(path, cwd, len); in create_abs_path() 124 strcpy(cwd, "/"); in cmd_cd() 129 char *prev = strrchr(cwd, '/'); in cmd_cd() 131 if (!prev || prev == cwd) { in cmd_cd() 132 strcpy(cwd, "/"); in cmd_cd() 154 strncpy(cwd, path, sizeof(cwd)); in cmd_cd() 155 cwd[sizeof(cwd) - 1] = '\0'; in cmd_cd() 167 strncpy(path, cwd, sizeof(path)); in cmd_ls() [all …]
|
/Zephyr-Core-3.5.0/scripts/west_commands/runners/ |
D | mdb.py | 83 mdb_runner.check_call(mdb_sub_cmd, cwd=mdb_runner.build_dir) 95 mdb_runner.call(mdb_cmd, cwd=mdb_runner.build_dir)
|
D | spi_burn.py | 84 cwd=os.path.dirname(self.iceman_path),
|
/Zephyr-Core-3.5.0/scripts/ci/ |
D | check_compliance.py | 33 def git(*args, cwd=None, ignore_non_zero=False): argument 41 cp = subprocess.run(git_cmd, capture_output=True, cwd=cwd) 203 cwd=GIT_TOP) 210 shell=True, cwd=GIT_TOP) 415 ":samples", ":tests", cwd=ZEPHYR_BASE) 566 cwd=Path(GIT_TOP)) 887 shell=True, cwd=GIT_TOP) 936 cwd=GIT_TOP,
|
/Zephyr-Core-3.5.0/doc/develop/west/ |
D | west-apis.rst | 444 The *cwd* parameter can now be any ``os.PathLike``. 448 The *cwd* parameter can now be any ``os.PathLike``. 453 The *cwd* parameter can now be any ``os.PathLike``. 457 The *cwd* parameter can now be any ``os.PathLike``. 461 The *cwd* parameter can now be any ``os.PathLike``. 466 The *cwd* parameter can now be any ``os.PathLike``.
|
/Zephyr-Core-3.5.0/scripts/ |
D | zephyr_module.py | 424 cwd=path).wait() 430 cwd=path) 441 cwd=path).wait()
|
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/ |
D | environment.py | 855 cwd=ZEPHYR_BASE) 871 cwd=ZEPHYR_BASE)
|
D | runner.py | 225 self.cwd = None 260 if self.cwd: 261 kwargs['cwd'] = self.cwd 381 if self.cwd: 382 kwargs['cwd'] = self.cwd
|
D | handlers.py | 308 stderr=subprocess.PIPE, cwd=self.build_dir, env=env) as proc: 990 …with subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=self.build_dir)…
|
D | harness.py | 139 stderr=subprocess.STDOUT, cwd=self.instance.build_dir, env=env) as cmake_proc:
|
/Zephyr-Core-3.5.0/scripts/dts/python-devicetree/tests/ |
D | test_edtlib.py | 32 cwd = os.getcwd() 37 os.chdir(cwd)
|
/Zephyr-Core-3.5.0/scripts/tests/twister/ |
D | test_handlers.py | 2020 def mock_popen(command, stdout=None, stdin=None, stderr=None, cwd=None): argument
|