Lines Matching refs:f
52 def append_resultsdata(results, f, configmap=store_map, configvars=extra_configvars): argument
53 if type(f) is str:
54 if is_url(f):
55 with urllib.request.urlopen(f) as response:
57 url = urllib.parse.urlparse(f)
60 with open(f, "r") as filedata:
62 testseries = os.path.basename(os.path.dirname(f))
64 data = f
93 f = os.path.join(root, name)
95 append_resultsdata(results, f, configmap, configvars)
167 with open(dst, 'w') as f:
168 f.write(json.dumps(resultsout, sort_keys=True, indent=4))
174 with open(dst.replace(fn, "ptest-raw.log"), "w+") as f:
175 f.write(rawlogs)
180 with open(dst.replace(fn, "ptest-%s.log" % i), "w+") as f:
181 f.write(sectionlog)
187 git_objs.extend([tag + ':' + f for f in files if f.endswith("testresults.json")])