From fc4f72a977e65fa3b061b87952350f9b00ec6932 Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Wed, 8 Feb 2017 15:57:03 -0800
Subject: [PATCH] Fix uploader

---
 tools/run_tests/run_microbenchmark.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/run_tests/run_microbenchmark.py b/tools/run_tests/run_microbenchmark.py
index 2084599e35..edc9e6a800 100755
--- a/tools/run_tests/run_microbenchmark.py
+++ b/tools/run_tests/run_microbenchmark.py
@@ -152,7 +152,7 @@ def collect_summary(bm_name, args):
                                 '--benchmark_out_format=json']))
   if args.bigquery_upload:
     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'])
 
 collectors = {
-- 
GitLab