Fix uploader

pull/9642/head
Craig Tiller 8 years ago
parent aa64ddf109
commit fc4f72a977
  1. 2
      tools/run_tests/run_microbenchmark.py

@ -152,7 +152,7 @@ def collect_summary(bm_name, args):
'--benchmark_out_format=json'])) '--benchmark_out_format=json']))
if args.bigquery_upload: if args.bigquery_upload:
with open('/tmp/out.csv', 'w') as f: with open('/tmp/out.csv', 'w') as f:
f.write(subprocess.check_output(['tools/profiling/microbenchmarks/bm2bq.py out.json'])) f.write(subprocess.check_output(['tools/profiling/microbenchmarks/bm2bq.py', 'out.json']))
subprocess.check_call(['bq', 'load', 'microbenchmarks.microbenchmarks', 'out.csv']) subprocess.check_call(['bq', 'load', 'microbenchmarks.microbenchmarks', 'out.csv'])
collectors = { collectors = {

Loading…
Cancel
Save