Home
last modified time | relevance | path

Searched refs:dest_path (Results 1 – 8 of 8) sorted by relevance

/test/vts/utils/python/reporting/
Dreport_file_utils.py124 dest_path = relative_path
126 dest_path = os.path.join(self._destination_dir, relative_path)
128 url = dest_path
131 return dest_path, url
133 def _PushReportFile(self, src_path, dest_path): argument
140 logging.info('Uploading log %s to %s.', src_path, dest_path)
143 dest_path = NotNoneStr(dest_path)
145 parent_dir = os.path.dirname(dest_path)
151 shutil.copy(src_path, dest_path)
153 def _PushReportFileGcs(self, src_path, dest_path): argument
[all …]
Dreport_file_utils_test.py34 def simple_PushReportFileGcs(src_path, dest_path): argument
88 dest_path, url = _report_file_util._ConvertReportPath(
94 dest_path,
118 dest_path, url = _report_file_util._ConvertReportPath(
123 self.assertEqual(dest_path, os.path.basename(src_path))
141 dest_path, url = _report_file_util._ConvertReportPath(
147 dest_path,
/test/framework/harnesses/host_controller/build/
Dbuild_provider.py116 dest_path = path + ".dir"
127 if os.path.exists(dest_path):
128 shutil.rmtree(dest_path)
129 logging.info("%s %s deleted", dir_key, dest_path)
130 zip_ref.extractall(dest_path)
131 self.SetFetchedDirectory(dest_path)
132 self.SetDeviceImage(dir_key, dest_path)
163 dest_path = os.path.join(self.tmp_dirpath, suite_name)
164 if os.path.exists(dest_path):
165 shutil.rmtree(dest_path)
[all …]
Dbuild_provider_gcs.py81 dest_path = temp_dir_path
101 dest_path = os.path.join(temp_dir_path, os.path.basename(path))
107 self.SetFetchedFile(dest_path, temp_dir_path,
/test/framework/harnesses/host_controller/command_processor/
Dcommand_gsispl.py90 dest_path = None
102 dest_path = tempfile.mkdtemp(dir=tempdir_base)
107 zip_ref.extractall(dest_path)
108 img_path = os.path.join(dest_path, "boot.img")
112 shutil.rmtree(dest_path)
119 if dest_path:
120 shutil.rmtree(dest_path)
Dcommand_upload.py126 dest_path = self.console.FormatString(args.dest)
131 if not dest_path.startswith("gs://"):
132 logging.error("{} is not correct GCS url.".format(dest_path))
137 if not gcs_utils.Remove(gsutil_path, dest_path, recursive=True):
138 logging.error("Fail to remove %s", dest_path)
140 if not gcs_utils.Copy(gsutil_path, src_paths, dest_path):
141 logging.error("Fail to copy %s to %s", src_paths, dest_path)
169 gsutil_path, report_path, dest_path, results_base_path,
Dcommand_release.py206 def UploadVtslab(self, package_file_path, dest_path): argument
213 if dest_path and dest_path.endswith("/"):
224 dest_path += ".".join(split_list)
227 dest_path)
Dcommand_reproduce.py93 dest_path = os.path.join("".join(self.ReplaceVars(["{tmp_dir}"])),
95 gcs_utils.Copy(gsutil_path, args.report_path, dest_path)
98 with open(dest_path, "r") as report_fd: