Searched refs:ebuild_path (Results 1 – 6 of 6) sorted by relevance
/external/toolchain-utils/llvm_tools/ |
D | update_chromeos_llvm_hash.py | 177 ebuild_path = os.path.realpath(cur_symlink) 180 resolved_paths[cur_symlink] = ebuild_path 185 def UpdateEbuildLLVMHash(ebuild_path, llvm_variant, git_hash, svn_version): argument 209 if not os.path.isfile(ebuild_path): 210 raise ValueError('Invalid ebuild path provided: %s' % ebuild_path) 212 temp_ebuild_file = '%s.temp' % ebuild_path 214 with open(ebuild_path) as ebuild_file: 220 os.rename(temp_ebuild_file, ebuild_path) 223 parent_dir = os.path.dirname(ebuild_path) 226 subprocess.check_output(['git', '-C', parent_dir, 'add', ebuild_path]) [all …]
|
D | update_chromeos_llvm_hash_unittest.py | 51 ebuild_path = '/some/path/to/package.ebuild' 58 update_chromeos_llvm_hash.UpdateEbuildLLVMHash(ebuild_path, llvm_variant, 62 str(err.exception), 'Invalid ebuild path provided: %s' % ebuild_path) 615 def SuccessfullyUpdatedLLVMHash(ebuild_path, _, git_hash, svn_version): argument 616 self.assertEqual(ebuild_path, abs_path_to_package) 720 def SuccessfullyUpdatedLLVMHash(ebuild_path, _, git_hash, svn_version): argument 721 self.assertEqual(ebuild_path,
|
D | get_upstream_patch.py | 125 def parse_ebuild_for_assignment(ebuild_path: str, var_name: str) -> str: 129 x for x in os.listdir(ebuild_path) 134 raise ValueError('No ebuilds found under %r' % ebuild_path) 136 ebuild = os.path.join(ebuild_path, max(candidates))
|
/external/toolchain-utils/rust_tools/ |
D | rust_uprev_test.py | 197 ebuild_path = '/path/to/the/ebuild' 198 json_result = (list(self.version_new), ebuild_path, 200 expected = (self.version_new, ebuild_path, self.bootstrap_version) 428 ebuild_path = Path( 430 mock_find_ebuild.return_value = Path(ebuild_path) 433 ['git', 'rm', str(ebuild_path.name)], cwd=ebuild_path.parent) 439 ebuild_path = Path( 441 mock_find_ebuild.return_value = Path(ebuild_path) 445 cwd=ebuild_path.parent) 447 ebuild_path.parent.joinpath(f'rust-{self.current_version}.ebuild'), [all …]
|
D | rust_uprev.py | 281 ebuild_path = find_ebuild_for_package('rust') 282 ebuild_name = os.path.basename(ebuild_path) 285 ebuild_path = find_ebuild_for_rust_version(template) 297 ebuild_path) 300 return template_version, ebuild_path, bootstrap_version 554 version, ebuild_path, bootstrap_version = obj 555 return RustVersion(*version), ebuild_path, RustVersion(*bootstrap_version) 646 version, ebuild_path = obj 647 return RustVersion(*version), ebuild_path
|
/external/toolchain-utils/llvm_tools/patch_sync/src/ |
D | version_control.rs | 354 let ebuild_path = llvm_dir.join(ebuild_name); in test_revbump_ebuild() localVariable 355 File::create(&ebuild_path).expect("creating test ebuild file"); in test_revbump_ebuild() 368 let ebuild_path = llvm_dir.join(ebuild_name); in test_revbump_ebuild() localVariable 369 File::create(&ebuild_path).expect("creating test ebuild file"); in test_revbump_ebuild() 382 let ebuild_path = llvm_dir.join(ebuild_name); in test_revbump_ebuild() localVariable 383 File::create(&ebuild_path).expect("creating test ebuild file"); in test_revbump_ebuild() 395 fs::remove_file(ebuild_path).expect("removing renamed ebuild file"); in test_revbump_ebuild()
|