Home
last modified time | relevance | path

Searched refs:chroot_path (Results 1 – 25 of 27) sorted by relevance

12

/external/toolchain-utils/llvm_tools/
Dupdate_packages_and_run_tests_unittest.py130 chroot_path = '/some/path/to/chroot'
137 builders, chroot_path)
151 expected_cmd, cwd=chroot_path, encoding='utf-8')
171 chroot_path = '/some/path/to/chroot'
178 cl, extra_cls, options, builders, chroot_path)
192 expected_cmd, cwd=chroot_path, encoding='utf-8')
198 chroot_path = '/abs/path/to/chroot'
205 chroot_path)
208 '%s/chromite/bin/gerrit' % chroot_path, 'message',
336 chroot_path = '/abs/path/to/chroot'
[all …]
Dupdate_packages_and_run_tests.py182 def AddReviewers(cl, reviewers, chroot_path): argument
185 gerrit_abs_path = os.path.join(chroot_path, 'chromite/bin/gerrit')
192 def AddLinksToCL(tests, cl, chroot_path): argument
201 gerrit_abs_path = os.path.join(chroot_path, 'chromite/bin/gerrit')
246 def RunTryJobs(cl_number, extra_change_lists, options, builders, chroot_path): argument
275 out = subprocess.check_output(cmd, cwd=chroot_path, encoding='utf-8')
288 AddLinksToCL(tests, cl_number, chroot_path)
294 chroot_path): argument
335 out = subprocess.check_output(cmd, cwd=chroot_path, encoding='utf-8')
348 AddLinksToCL(tests, cl_number, chroot_path)
[all …]
Dllvm_patch_management.py106 def GetPathToFilesDirectory(chroot_path, package): argument
120 if not os.path.isdir(chroot_path):
121 raise ValueError('Invalid chroot provided: %s' % chroot_path)
125 chroot_path, ['equery', 'w', package], verbose=verbose)
134 return os.path.join(chroot_path, rel_path, 'files/')
137 def _GetRelativePathOfChrootPath(chroot_path): argument
152 if not chroot_path.startswith(chroot_prefix):
153 raise ValueError('Invalid prefix for the chroot path: %s' % chroot_path)
155 return chroot_path[len(chroot_prefix):]
184 def UpdatePackagesPatchMetadataFile(chroot_path, svn_version, argument
[all …]
Dupdate_tryjob_status_unittest.py89 chroot_path = '/some/path/to/chroot'
93 chroot_path, buildbucket_id), 'good')
100 mock_chroot_command.assert_called_once_with(chroot_path, expected_cmd)
109 chroot_path = '/some/path/to/chroot'
115 update_tryjob_status.GetAutoResult(chroot_path, buildbucket_id)
121 mock_cros_buildresult.assert_called_once_with(chroot_path, buildbucket_id)
130 chroot_path = '/some/path/to/chroot'
134 update_tryjob_status.GetAutoResult(chroot_path, buildbucket_id),
137 mock_cros_buildresult.assert_called_once_with(chroot_path, buildbucket_id)
250 chroot_path = '/abs/path/to/chroot'
[all …]
Dchroot.py53 chroot_path = subprocess.check_output(
57 chroot_paths.append(chroot_path.strip())
85 for chroot_path in chroot_paths:
86 if not chroot_path.startswith(chroot_prefix):
87 raise ValueError('Invalid prefix for the chroot path: %s' % chroot_path)
89 rel_path = chroot_path[len(chroot_prefix):]
Dchroot_unittest.py32 chroot_path = '/test/chroot/path'
36 chroot.GetChrootEbuildPaths(chroot_path, package_list),
42 chroot_path = '/path/to/chroot'
48 chroot.ConvertChrootPathsToAbsolutePaths(chroot_path, [chroot_file_path])
55 chroot_path = '/path/to/chroot'
62 chroot_path, chroot_file_paths), [expected_abs_path])
Dllvm_patch_management_unittest.py31 chroot_path = '/some/path/to/chroot'
37 llvm_patch_management.GetPathToFilesDirectory(chroot_path, package)
40 str(err.exception), 'Invalid chroot provided: %s' % chroot_path)
65 chroot_path = '/some/path/to/chroot'
70 llvm_patch_management.GetPathToFilesDirectory(chroot_path, package),
190 chroot_path = '/some/path/to/chroot'
200 chroot_path, revision, patch_file_name, [package_name],
207 mock_get_filesdir_path.assert_called_once_with(chroot_path, package_name)
279 chroot_path = '/some/path/to/chroot'
285 chroot_path, revision, patch_file_name, [package_name],
[all …]
Dmodify_a_tryjob.py115 def GetCLAfterUpdatingPackages(packages, git_hash, svn_version, chroot_path, argument
124 chroot_path,
138 chroot_path, cl_url, revision): argument
153 cl, extra_cls, options, [builder], chroot_path)
166 def AddTryjob(packages, git_hash, revision, chroot_path, patch_metadata_file, argument
173 chroot_path, patch_metadata_file,
178 chroot_path, change_list.url,
185 options, builder, chroot_path, verbose): argument
237 bisect_contents['jobs'][tryjob_index]['builder'], chroot_path, verbose)
266 tryjob_dict = AddTryjob(update_packages, git_hash, revision, chroot_path,
[all …]
Dupdate_chromeos_llvm_hash_unittest.py346 chroot_path = '/some/path/to/chroot'
369 chroot_path, [package_name])
375 mock_get_chroot_paths.assert_called_once_with(chroot_path, [package_name])
378 chroot_path, [package_chroot_path])
416 chroot_path = '/some/path/to/chroot'
421 chroot_path, [package_name]),
424 mock_get_chroot_paths.assert_called_once_with(chroot_path, [package_name])
427 chroot_path, [package_chroot_path])
621 chroot_path = '/some/path/to/chroot'
631 packages_to_update, llvm_variant, git_hash, svn_version, chroot_path,
[all …]
Dupdate_tryjob_status.py168 def GetStatusFromCrosBuildResult(chroot_path, buildbucket_id): argument
176 tryjob_json = ChrootRunCommand(chroot_path, get_buildbucket_id_cmd)
183 def GetAutoResult(chroot_path, buildbucket_id): argument
187 build_result = GetStatusFromCrosBuildResult(chroot_path, buildbucket_id)
248 def UpdateTryjobStatus(revision, set_status, status_file, chroot_path, argument
297 chroot_path, bisect_contents['jobs'][tryjob_index]['buildbucket_id'])
318 args_output.status_file, args_output.chroot_path,
Dmodify_a_tryjob_unittest.py46 args_output.builders, args_output.chroot_path, args_output.verbose)
82 args_output.builders, args_output.chroot_path, args_output.verbose)
119 args_output.builders, args_output.chroot_path, args_output.verbose)
179 args_output.builders, args_output.chroot_path, args_output.verbose)
243 args_output.builders, args_output.chroot_path, args_output.verbose)
283 args_output.builders, args_output.chroot_path, args_output.verbose)
338 args_output.builders, args_output.chroot_path, args_output.verbose)
392 args_output.builders, args_output.chroot_path, args_output.verbose)
Dupdate_chromeos_llvm_hash.py325 def CreatePathDictionaryFromPackages(chroot_path, update_packages): argument
339 chroot_file_paths = chroot.GetChrootEbuildPaths(chroot_path, update_packages)
343 chroot_path, chroot_file_paths)
435 def UpdatePackages(packages, llvm_variant, git_hash, svn_version, chroot_path, argument
468 paths_dict = CreatePathDictionaryFromPackages(chroot_path, packages)
519 chroot_path, svn_version, patch_metadata_file, packages, mode)
561 args_output.chroot_path,
Dsubprocess_helpers.py40 def ChrootRunCommand(chroot_path, cmd, verbose=False): argument
47 exec_chroot_cmd, cwd=chroot_path, verbose=verbose)
Dcherrypick_cl.py174 args.chroot_path,
175 chroot.GetChrootEbuildPaths(args.chroot_path, ['sys-devel/llvm']))[0]
212 symlinks = chroot.GetChrootEbuildPaths(args.chroot_path, [
216 symlinks = chroot.ConvertChrootPathsToAbsolutePaths(args.chroot_path,
Dllvm_bisection.py254 chroot_path, patch_metadata_file, extra_change_lists, options, argument
261 svn_revision, chroot_path,
361 gerrit = os.path.join(args_output.chroot_path, 'chromite/bin/gerrit')
381 update_packages, args_output.chroot_path, patch_metadata_file,
Dllvm_bisection_unittest.py212 temp_json_file, packages, args_output.chroot_path,
282 args_output.chroot_path = 'somepath'
302 os.path.join(args_output.chroot_path, 'chromite/bin/gerrit'),
Dtest_helpers.py20 self.chroot_path = '/abs/path/to/chroot'
Dcopy_helpers_to_chromiumos_overlay.py39 repo_root = args.chroot_path
Dauto_llvm_bisection.py55 args_output.chroot_path, '--last_tested', args_output.last_tested
Dupdate_all_tryjobs_with_auto.py71 args_output.chroot_path, tryjob['buildbucket_id'])
DREADME.md281 --chroot_path /path/to/chromeos/chroot \
375 --chroot_path /abs/path/to/chroot
509 ./cherrypick_cl.py --chroot_path /abs/path/to/chroot --start_sha llvm
/external/autotest/client/cros/
Dnetwork_chroot.py182 self.chroot_path("var/log/*"))
191 def chroot_path(self, path): member in NetworkChroot
213 chroot_pid_file = self.chroot_path(pid_file)
245 os.mkdir(self.chroot_path(rootdir))
250 dst_path = self.chroot_path(rootdir)
265 dst_path = self.chroot_path(config_file)
270 link_path = self.chroot_path(src_path)
300 with open(self.chroot_path(config_file), 'w') as f:
/external/libwebsockets/lib/misc/
Dspawn.c427 if (i->chroot_path && chroot(i->chroot_path)) { in lws_spawn_piped()
429 __func__, i->chroot_path, errno); in lws_spawn_piped()
/external/minijail/
Dlibminijail.h224 char *minijail_get_original_path(struct minijail *j, const char *chroot_path);
/external/libwebsockets/include/libwebsockets/
Dlws-misc.h755 const char *chroot_path; member

12