Skip to content
Snippets Groups Projects

collect_tests.py: write output of Bar/buz benchmark to results/buz.json

Merged Dmitry Kalinkin requested to merge pr/output_path_fix into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -179,7 +179,7 @@ def _aggregate_results(results):
def _save(benchmark, results):
'''Save benchmark results'''
ofile = Path(OUTPUT_FILE.format(benchmark))
ofile = Path(OUTPUT_FILE.format(Path(benchmark).name))
print(' --> Saving benchmark results to:', ofile)
with ofile.open('w') as f:
json.dump(results, f, indent=4)
Loading