Lines Matching refs:path
27 this_path = os.path.abspath(os.path.dirname(__file__))
50 default=os.path.join(this_path, '../output/bin'),
110 default=os.path.join(this_path, '../lib/resources/styles/robot.css'),
170 if not os.path.isabs(options.css_file):
171 options.css_file = os.path.join(this_path, options.css_file)
173 if not os.path.isfile(options.css_file):
287 def __init__(self, path): argument
288 self.path = path
304 return os.path.join(
316 suite = suiteBuilder.build(self.path)
350 remote_server_binary = os.path.join(self.remote_server_directory, remote_server_name)
352 if not os.path.isfile(remote_server_binary):
425 pid_file_path = os.path.join(self.remote_server_directory, pid_filename)
428 while not os.path.exists(pid_file_path) and perf_renode_timeout > 0:
441 logs_dir = os.path.join(output_dir, 'logs')
443 file_name = os.path.splitext(os.path.basename(self.path))[0]
445 … fout = open(os.path.join(logs_dir, f"{suite_name}.renode_stdout.log"), "wb", buffering=0)
446 … ferr = open(os.path.join(logs_dir, f"{suite_name}.renode_stderr.log"), "wb", buffering=0)
456 renode_port_file = os.path.join(temp_dir, f'renode-{self.renode_pid}', 'robot_port')
481 perf_data_path = os.path.join(self.remote_server_directory, "perf.data")
486 if not os.path.isdir(options.perf_output_path):
537 if self.path.endswith('renode-keywords.robot'):
538 print('Ignoring helper file: {}'.format(self.path))
609 suite = suiteBuilder.build(self.path)
639 if not os.path.isdir(output_dir) or not log_files:
656 with open(os.path.join(output_dir, report_name), "a") as report:
665 if os.path.basename(dirpath.rstrip("/")) != "logs":
668 failed_suites = self.find_suites_with_fails(os.path.dirname(dirpath))
670 fpath = os.path.join(dirpath, fname)
674 if os.path.getsize(fpath) == 0:
697 tree = ET.parse(os.path.join(output_dir, log_file))
738 file_name = os.path.splitext(os.path.basename(self.path))[0]
782 os.path.join(this_path, f'retry_and_timeout_listener.py:{options.retry_count}'),
784 os.path.join(this_path, output_formatter),
790 …log_file = os.path.join(output_dir, 'results-{0}{1}.robot.xml'.format(file_name, '_' + hotspot if …
792 keywords_path = os.path.abspath(os.path.join(this_path, "renode-keywords.robot"))
793 …keywords_path = keywords_path.replace(os.path.sep, "/") # Robot wants forward slashes even on Win…
796 tools_path = os.path.join(os.path.dirname(this_path), "tools")
797 tools_path = tools_path.replace(os.path.sep, "/")
800 suite = suite_builder.build(self.path)
850 file_name = os.path.splitext(os.path.basename(self.path))[0]
853 log_file = os.path.join(output_dir, 'results-{0}.robot.xml'.format(file_name))
854 if os.path.isfile(log_file):
860 …log_file = os.path.join(output_dir, 'results-{0}{1}.robot.xml'.format(file_name, '_' + hotspot if …
861 if os.path.isfile(log_file):
898 logs_dir = os.path.join(output_dir, "logs")
909 src_fpath = os.path.join(dirpath, fname)
910 dest_fpath = os.path.join(logs_dir, fname)
950 def find_failed_tests(path, file="robot_output.xml"): argument
954 for dirpath, _, fnames in os.walk(path):
956 tree = ET.parse(os.path.join(dirpath, fname))
970 … suite_name = os.path.basename(suite.attrib["source"]).rsplit(".", 1)[0]
984 def find_suites_with_fails(cls, path, file="robot_output.xml"): argument
991 for dirpath, _, fnames in os.walk(path):
993 tree = ET.parse(os.path.join(dirpath, fname))
1004 suite_name = os.path.basename(suite.attrib["source"]).rsplit(".", 1)[0]
1030 for path in paths:
1034 match = pattern.search(path)
1045 ret[(iteration, suite_retry)].add(path)
1050 def find_rerun_tests(cls, path): argument
1054 tree = ET.parse(os.path.join(retry_dir, file))
1066 suite_name = os.path.basename(suite.attrib["source"]).rsplit(".", 1)[0]
1094 iteration_dirname = os.path.basename(iteration_dir)
1095 report_fpath = os.path.join(iteration_dir, "robot_output.xml")
1096 if os.path.isfile(report_fpath):
1102 retry_dirpath = os.path.join(iteration_dir, f"retry{i}")
1103 if os.path.isdir(retry_dirpath):
1104 analyze_xml(os.path.join(iteration_dirname, f"retry{i}"), retry_dirpath)
1112 iteration_dirpath = os.path.join(path, f"iteration{i + 1}")
1113 retry_dirpath = os.path.join(path, f"retry{i}")
1114 if os.path.isdir(iteration_dirpath):
1117 elif os.path.isdir(retry_dirpath):