Lines Matching refs:output_dir
116 def bug_summary(output_dir, bug_counter):
119 name = os.path.join(output_dir, 'summary.html.fragment')
168 def bug_report(output_dir, prefix):
171 pretty = prettify_bug(prefix, output_dir)
172 bugs = (pretty(bug) for bug in read_bugs(output_dir, True))
174 name = os.path.join(output_dir, 'bugs.html.fragment')
215 def crash_report(output_dir, prefix):
218 pretty = prettify_crash(prefix, output_dir)
219 crashes = (pretty(crash) for crash in read_crashes(output_dir))
221 name = os.path.join(output_dir, 'crashes.html.fragment')
253 def read_crashes(output_dir):
257 for filename in glob.iglob(os.path.join(output_dir, 'failures',
261 def read_bugs(output_dir, html):
278 pattern = os.path.join(output_dir, '*.html' if html else '*.plist')
286 def merge_sarif_files(output_dir, sort_files=False):
350 sarif_files = (file for file in glob.iglob(os.path.join(output_dir, '*.sarif')) if not empty(file))
375 with open(os.path.join(output_dir, 'results-merged.sarif'), 'w') as out:
495 def prettify_bug(prefix, output_dir):
504 encode_value(bug, 'report_file', lambda x: escape(chop(output_dir, x)))
510 def prettify_crash(prefix, output_dir):
516 encode_value(crash, 'file', lambda x: escape(chop(output_dir, x)))
517 encode_value(crash, 'info', lambda x: escape(chop(output_dir, x)))
518 encode_value(crash, 'stderr', lambda x: escape(chop(output_dir, x)))
524 def copy_resource_files(output_dir):
529 shutil.copy(os.path.join(this_dir, 'resources', resource), output_dir)