Home
last modified time | relevance | path

Searched refs:report_path (Results 1 – 23 of 23) sorted by relevance

/test/testfwk/xdevice/src/xdevice/_core/report/
D__main__.py38 report_path = input("report path >>> ")
40 report_path = args[1]
43 if not os.path.isabs(report_path):
44 report_path = os.path.abspath(os.path.join(exec_dir, report_path))
46 if not os.path.exists(report_path):
47 LOG.error("Report path %s not exists", report_path)
50 LOG.info("Report path: %s", report_path)
58 result_report.__generate_reports__(report_path, task_info=task_info)
Dresult_reporter.py51 self.report_path = None
60 def __generate_reports__(self, report_path, **kwargs): argument
67 if self._check_params(report_path, **kwargs):
91 def _check_params(self, report_path, **kwargs): argument
93 if not report_path:
95 ReportPath=report_path)
102 os.makedirs(report_path, exist_ok=True)
103 self.report_path = report_path
106 self.report_path, ReportConstant.summary_data_report)
287 summary_element_tree, self.report_path, self.task_info)
[all …]
Dsuite_reporter.py48 def __init__(self, results, report_name, report_path=None, **kwargs): argument
59 self.report_path = report_path
61 self.report_path, "%s%s" % (
353 for report_path, report_result in suite_reports:
354 module_name = get_filename_extension(report_path)[0]
356 append((module_name, report_path, report_result))
369 for module_name, report_path, report_result in \
372 return report_path, report_result
Dreporter_helper.py182 def get_summary_result(cls, report_path, file_name, key=None, **kwargs): argument
185 data_reports = cls._get_data_reports(report_path, file_prefix)
229 def _get_data_reports(cls, report_path, file_prefix=None): argument
230 if not os.path.isdir(report_path):
233 for root, _, files in os.walk(report_path):
442 def parse_element_data(self, summary_element, report_path, task_info): argument
444 exec_info = self._set_exec_info(report_path, task_info)
449 def _set_exec_info(self, report_path, task_info): argument
471 exec_info.log_path = os.path.abspath(os.path.join(report_path, "log"))
/test/testfwk/xdevice/src/xdevice/_core/executor/
Drequest.py79 if getattr(config, ConfigConst.report_path, "") == "":
82 Variables.task_name = config.report_path
85 report_path = os.path.join(Variables.exec_dir,
88 os.makedirs(report_path, exist_ok=True)
89 self._check_report_path(report_path)
91 log_path = os.path.join(report_path, Variables.report_vars.log_dir)
102 self.config.report_path = report_path
107 LOG.info("Report path: %s", report_path)
176 Scheduler.report_not_executed(self.config.report_path, [
200 def _check_report_path(cls, report_path): argument
[all …]
Dscheduler.py125 task.config.report_path))
278 LOG.debug("Removing report_path: {}".format(task.config.report_path))
282 shutil.rmtree(task.config.report_path)
326 task.config.report_path)
560 self.report_not_executed(task.config.report_path,
623 os.path.join(task.config.report_path, "result")
626 task.config.report_path, "result", file_name)
643 self.report_not_executed(task.config.report_path, [test_drivers[0]],
658 cls.report_not_executed(task.config.report_path, test_drivers,
663 def report_not_executed(cls, report_path, test_drivers, error_message, argument
[all …]
Dlistener.py225 self.report_path = ""
295 result_dir = os.path.join(self.report_path, "result")
307 result_dir = os.path.join(self.report_path, "result")
329 reporter.__generate_reports__(self.report_path,
Dsource.py393 Scheduler.report_not_executed(config.report_path, [("", desc)],
Dconcurrent.py311 os.path.join(self.task.config.report_path, "result")
/test/testfwk/developer_test/libs/benchmark/report/
Dbenchmark_reporter.py35 def __generate_reports__(self, report_path, **kwargs): argument
37 LOG.info("report_path = %s" % report_path)
38 self._make_benchmark_report(report_path)
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Ddrivers_lite.py139 request.config.report_path,
208 report_path = "/%s/%s/" % ("reports", self.execute_bin.split(".")[0])
209 self.config.device_xml_path = (self.linux_directory + report_path). \
211 self.config.device_report_path = execute_dir + report_path
259 request.config.report_path, self.result, self.error_message,
335 report_path = os.path.join(self.config.report_path, "result")
337 report_path, self.result, key=sort_by_length,
341 os.path.join(report_path, "%s.xml" % execute_bin),
354 self.result = "%s.xml" % os.path.join(request.config.report_path,
447 def download_nfs_xml(self, request, report_path): argument
[all …]
Dopenharmony.py87 os.path.join(request.config.report_path,
90 request.config.report_path,
95 request.config.report_path,
123 request.config.report_path, self.result, self.error_message)
245 request.config.report_path, "result",
258 self.config.device.set_device_report_path(request.config.report_path)
259 self.hilog = get_device_log_file(request.config.report_path,
287 request.config.report_path, self.result, self.error_message)
Ddrivers.py274 os.path.join(request.config.report_path,
278 request.config.report_path,
284 request.config.report_path,
315 request.config.report_path, self.result, self.error_message)
738 request.config.report_path, "result",
759 self.config.device.set_device_report_path(request.config.report_path)
782 request.config.report_path, self.result, self.error_message)
801 request.config.report_path,
911 request.config.report_path, "result",
944 request.config.report_path, self.result, self.error_message)
[all …]
/test/testfwk/xdevice/src/xdevice/_core/command/
Dconsole.py192 dest=ConfigConst.report_path,
540 if options.report_path:
541 report_list = str(options.report_path).split(";")
565 command, report_path = command_info[1], command_info[2]
568 if len(report_path) > MAX_VISIBLE_LENGTH:
569 report_path = "%s..." % report_path[:MAX_RESERVED_LENGTH]
571 command_info[0], command, report_path))
576 task_id, command, report_path = task_id, "", ""
580 task_id, command, report_path = command_info
584 print("{0:<16}{1:<100}".format("ReportPath:", report_path))
[all …]
/test/testfwk/developer_test/src/core/driver/
Dlite_driver.py224 report_path = request.config.report_path
225 test_result = os.path.join(report_path, "result")
363 self.result = check_result_report(request.config.report_path,
386 self.result = "%s.xml" % os.path.join(request.config.report_path,
400 device_log_file = get_device_log_file(request.config.report_path,
503 request.config.report_path, "result", self.file_name)
531 request.config.report_path, self.result, self.error_message,
556 device_log_file = get_device_log_file(request.config.report_path,
Ddrivers.py107 def get_device_log_file(report_path, serial=None, log_name="device_log"): argument
109 log_path = os.path.join(report_path, Variables.report_vars.log_dir)
275 self.result_rootpath = self.config.report_path
470 self.config.device.set_device_report_path(request.config.report_path)
649 request.config.report_path, "result",
677 request.config.report_path,
/test/testfwk/xdevice/src/xdevice/_core/
Dconstants.py246 report_path = "report_path" variable in ConfigConst
292 report_path = "report_path" variable in ReportConst
Dinterface.py356 def __generate_reports__(self, report_path, **kwargs): argument
Dutils.py395 def get_device_log_file(report_path, serial=None, log_name="device_log", argument
398 log_path = os.path.join(report_path, Variables.report_vars.log_dir)
/test/testfwk/developer_test/src/core/
Dutils.py66 def get_device_log_file(report_path, serial=None, log_name="device_log"): argument
67 log_path = os.path.join(report_path, "log")
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit_lite.py503 report_path = self._get_report_dir()
504 if report_path and os.path.exists(report_path):
523 hash_file_path = os.path.join(report_path, hash_file_name)
534 % report_path
545 report_path = os.path.join(Variables.exec_dir,
548 return report_path
/test/testfwk/developer_test/src/core/command/
Ddistribute_utils.py74 result_report.__generate_reports__(report_path=result_rootpath,
Dconsole.py463 report_path = "report_path" variable in ConfigConst