Home
last modified time | relevance | path

Searched refs:report_path (Results 1 - 25 of 50) sorted by relevance

12

/test/testfwk/xdevice/src/xdevice/_core/report/
H A D__main__.py37 report_path = input("enter path >>> ")
39 report_path = args[1]
40 LOG.info(f"report path: {report_path}")
41 if not os.path.exists(report_path):
44 return report_path
48 report_path = __get_report_path()
49 if report_path is None:
52 for filename in os.listdir(report_path):
55 os.remove(os.path.join(report_path, filename))
62 result_report.__generate_reports__(report_path, task_inf
[all...]
H A Dresult_reporter.py106 self.report_path = None
120 def __generate_reports__(self, report_path, **kwargs):
127 if self._check_params(report_path, **kwargs):
152 def _check_params(self, report_path, **kwargs):
154 if not report_path:
156 ReportPath=report_path)
163 os.makedirs(report_path, exist_ok=True)
164 self.report_path = report_path
167 self.report_path, ReportConstan
[all...]
H A Dsuite_reporter.py51 def __init__(self, results, report_name, report_path=None, **kwargs):
57 :param report_path: suite report path
62 self.report_path = report_path
64 self.report_path, "%s%s" % (
362 for report_path, report_result in suite_reports:
363 module_name = get_filename_extension(report_path)[0]
365 append((module_name, report_path, report_result))
378 for module_name, report_path, report_result in \
381 return report_path, report_resul
[all...]
H A Drepeater_helper.py24 def __init__(self, report_path):
26 self.report_path = report_path
53 file_name = r"{}\repeated.xml".format(self.report_path)
/test/testfwk/xdevice/src/xdevice/_core/context/
H A Dupload.py63 summary_data_report = os.path.join(task.config.report_path,
67 task.config.report_path)
81 task.config.report_path, ReportConstant.summary_vision_report)
111 case_id, result, error, start, end, report_path, result_content = upload_param
113 "start": start, "end": end, "report": report_path,
129 def upload_unavailable_result(cls, error_msg, case_id="", report_path=""):
134 (case_id, CaseResult.unavailable, error_msg, current_time, current_time, report_path))
142 case_id, result, error, start_time, end_time, report_path = \
148 case_id, result, error, start_time, end_time, report_path))
149 proxy.upload_result(case_id, result, error, start_time, end_time, report_path)
[all...]
H A Dhandler.py37 def handle_repeat_result(report_xml, report_path, round_folder=""):
40 round_path = os.path.join(report_path, "result", round_folder)
68 def report_not_executed(report_path, test_drivers, error_message, task=None):
88 report_file = os.path.join(report_path, "result", round_folder, "%s.xml" % module_name)
93 check_result_report(report_path, report_file, error_message, report_name, module_name,
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
H A Dcpp_driver_lite.py87 request.config.report_path,
156 report_path = "/%s/%s/" % ("reports", self.execute_bin.split(".")[0])
157 self.config.device_xml_path = (self.linux_directory + report_path). \
159 self.config.device_report_path = execute_dir + report_path
207 request.config.report_path, self.result, self.error_message,
285 report_path = os.path.join(self.config.report_path, "result")
287 report_path, self.result, key=sort_by_length,
291 os.path.join(report_path, "%s.xml" % execute_bin),
304 self.result = "%s.xml" % os.path.join(request.config.report_path,
[all...]
H A Dc_driver_lite.py139 request.config.report_path, self.result, self.error_message,
146 self.java_log_file = os.path.join(request.config.report_path, Variables.report_vars.log_dir,
181 request.config.report_path, "result", self.file_name)
189 request.config.report_path,
245 request.config.report_path, "result", self.file_name)
255 request.config.report_path,
275 self.result = "%s.xml" % os.path.join(request.config.report_path, "result", self.file_name)
315 request.config.report_path,
351 os.path.join(request.config.report_path, "result",
365 request.config.report_path,
[all...]
H A Doh_kernel_driver.py63 os.path.join(request.config.report_path,
66 request.config.report_path,
74 request.config.report_path,
105 request.config.report_path, self.result, self.error_message)
H A Doh_yara_driver.py96 request.config.report_path, "result",
107 self.config.device.set_device_report_path(request.config.report_path)
132 request.config.report_path, self.result, self.error_message)
220 local_path = os.path.join(request.config.report_path, OHYaraConfig.AFFECTED_FILES.value,
259 local_path = os.path.join(request.config.report_path, OHYaraConfig.AFFECTED_FILES.value,
397 yara_report = os.path.join(request.config.report_path, "vul_info_{}.csv"
H A Dltp_posix_driver.py54 request.config.report_path, "result",
86 request.config.report_path, self.result, self.error_message)
111 request.config.report_path,
H A Doh_jsunit_driver.py109 request.config.report_path, "result",
120 self.config.device.set_device_report_path(request.config.report_path)
126 request.config.report_path,
142 request.config.report_path,
166 request.config.report_path, self.result, self.error_message, request=request)
466 cov_dir = os.path.join(request.config.report_path, "cov")
546 stack_listener.report_path = self.config.report_path
686 request.config.report_path, "result",
699 self.result = check_result_report(request.config.report_path,
[all...]
/test/testfwk/xdevice/src/xdevice/_core/executor/
H A Drequest.py85 if getattr(config, ConfigConst.report_path, "") == "":
88 Variables.task_name = config.report_path
91 report_path = os.path.join(Variables.exec_dir,
94 os.makedirs(report_path, exist_ok=True)
95 self._check_report_path(report_path)
97 log_path = os.path.join(report_path, Variables.report_vars.log_dir)
108 self.config.report_path = report_path
113 LOG.info("Report path: %s", report_path)
172 report_not_executed(self.config.report_path, [("", test_descripto
[all...]
/test/testfwk/xdevice/plugins/devicetest/core/
H A Dreport.py38 def __init__(self, report_path):
39 self.report_path = report_path
43 if os.path.exists(self.report_path):
44 root = ElementTree.parse(self.report_path).getroot()
45 return self.report_path, ElementTree.tostring(root).decode()
73 os.makedirs(os.path.dirname(self.report_path), exist_ok=True)
77 result_fd = os.open(self.report_path, os.O_CREAT | os.O_WRONLY | os.O_TRUNC, FilePermission.mode_644)
80 return self.report_path, xml_content
H A Dresult_upload.py28 def __init__(self, report_path):
32 self.report_handler = ReportHandler(report_path)
/test/testfwk/xdevice/src/xdevice/_core/command/
H A Dconsole.py201 dest=ConfigConst.report_path,
602 report_path = str(getattr(options, ConfigConst.report_path, ""))
603 if not report_path:
606 cls._report_helper(report_path.split(";"), tool_name)
654 command, report_path = command_info[1], command_info[2]
657 if len(report_path) > MAX_VISIBLE_LENGTH:
658 report_path = "%s..." % report_path[:MAX_RESERVED_LENGTH]
660 command_info[0], command, report_path))
[all...]
/test/testfwk/developer_test/local_coverage/interface_coverage/
H A Dinterface_coverage_gcov_lcov.py403 report_path = os.path.join(output_path, "coverage_summary_file.xml")
405 if os.path.exists(report_path):
406 os.remove(report_path)
407 with os.fdopen(os.open(report_path, FLAGS, MODES), 'w') as fd:
420 report_path = os.path.join(output_path, "ohos_interfaceCoverage.html")
421 make_report.create_html_start(report_path)
422 make_report.create_title(report_path, title_name, summary_list)
423 make_report.create_summary(report_path, summary_list)
431 report_path, subsystem_name, data_list, len(data_list), count)
432 make_report.create_html_ended(report_path)
[all...]
/test/testfwk/developer_test/local_coverage/keyword_registration/
H A Dkeyword_filter.py39 def __init__(self, report_path):
40 self.report_path = report_path
46 for root_path, _, files in os.walk(self.report_path):
58 for root_path, _, files in os.walk(self.report_path):
85 os.path.normcase(os.path.join(self.report_path, file_name))
93 def __init__(self, report_path):
94 self.report_path = report_path
561 index_path_list = CoverageReportPath(self.report_path)
[all...]
/test/testfwk/developer_test/libs/benchmark/report/
H A Dbenchmark_reporter.py36 def __generate_reports__(self, report_path, **kwargs):
38 LOG.info("report_path = %s" % report_path)
39 self._make_benchmark_report(report_path)
/test/testfwk/xdevice/plugins/devicetest/driver/
H A Dwindows.py96 self.result = os.path.join(request.config.report_path, "result", "%s.xml" % test_name)
164 configs["report_path"] = request.config.report_path
182 request.config.report_path, self.result, self.error_message,
186 if self.result not in [report_path for report_path, _ in tmp_list]:
190 request.config.report_path, self.result,
H A Ddevice_test.py119 driver_obj.result = os.path.join(request.config.report_path, "result", "%s.xml" % test_name)
225 configs["report_path"] = request.config.report_path
259 request.config.report_path, self.result, self.error_message,
263 if self.result not in [report_path for report_path, _ in tmp_list]:
267 request.config.report_path, self.result,
385 configs["report_path"] = request.config.report_path
409 request.config.report_path, sel
[all...]
/test/testfwk/developer_test/src/core/driver/
H A Dlite_driver.py246 report_path = request.config.report_path
247 test_result = os.path.join(report_path, "result")
370 self.result = check_result_report(request.config.report_path,
396 self.result = "%s.xml" % os.path.join(request.config.report_path,
410 device_log_file = get_device_log_file(request.config.report_path,
493 request.config.report_path, "result", self.file_name)
521 request.config.report_path, self.result, self.error_message,
565 device_log_file = get_device_log_file(request.config.report_path,
H A Dopenharmony.py238 result_save_path = get_result_savepath(suite_file, self.config.report_path)
245 self.config.device.set_device_report_path(request.config.report_path)
246 self.hilog = get_device_log_file(request.config.report_path,
274 request.config.report_path, "result",
278 request.config.report_path, self.result, self.error_message)
/test/testfwk/xdevice/plugins/devicetest/core/suite/
H A Dtest_suite.py115 report_path = os.path.join("details", self._round_folder, self.suite_name, self.suite_name + ".html")
153 "report": report_path
187 to_file = os.path.join(self.get_case_report_path(), report_path)
192 self.suite_report_path = report_path
387 report_path = os.path.join("details", self._round_folder, self.suite_name, case_html)
388 to_file = os.path.join(self.configs.get("report_path"), report_path)
396 self.case_result[case_name]["report"] = report_path
436 return self.configs["report_path"]
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
H A Dkit_lite.py502 report_path = self._get_report_dir()
503 if report_path and os.path.exists(report_path):
522 hash_file_path = os.path.join(report_path, hash_file_name)
533 % report_path
544 report_path = os.path.join(Variables.exec_dir,
547 return report_path

Completed in 14 milliseconds

12