diff options
Diffstat (limited to 'scripts/lib/resulttool/resultutils.py')
-rw-r--r-- | scripts/lib/resulttool/resultutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/resulttool/resultutils.py b/scripts/lib/resulttool/resultutils.py index 7cb85a6aa9..f0ae8ec1c5 100644 --- a/scripts/lib/resulttool/resultutils.py +++ b/scripts/lib/resulttool/resultutils.py | |||
@@ -177,7 +177,7 @@ def save_resultsdata(results, destdir, fn="testresults.json", ptestjson=False, p | |||
177 | with open(dst.replace(fn, "ptest-%s.log" % i), "w+") as f: | 177 | with open(dst.replace(fn, "ptest-%s.log" % i), "w+") as f: |
178 | f.write(sectionlog) | 178 | f.write(sectionlog) |
179 | 179 | ||
180 | def git_get_result(repo, tags): | 180 | def git_get_result(repo, tags, configmap=store_map): |
181 | git_objs = [] | 181 | git_objs = [] |
182 | for tag in tags: | 182 | for tag in tags: |
183 | files = repo.run_cmd(['ls-tree', "--name-only", "-r", tag]).splitlines() | 183 | files = repo.run_cmd(['ls-tree', "--name-only", "-r", tag]).splitlines() |
@@ -200,7 +200,7 @@ def git_get_result(repo, tags): | |||
200 | # Optimize by reading all data with one git command | 200 | # Optimize by reading all data with one git command |
201 | results = {} | 201 | results = {} |
202 | for obj in parse_json_stream(repo.run_cmd(['show'] + git_objs + ['--'])): | 202 | for obj in parse_json_stream(repo.run_cmd(['show'] + git_objs + ['--'])): |
203 | append_resultsdata(results, obj) | 203 | append_resultsdata(results, obj, configmap=configmap) |
204 | 204 | ||
205 | return results | 205 | return results |
206 | 206 | ||