aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-01 14:16:53 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-03-01 14:16:53 -0800
commitaa296fec74ac7781ac1f26df2b091e8b1afe38fd (patch)
tree465277953719e6a6377e9f0f1e4f40501c8fd4cd /tools/run_tests
parentdce26f422c5babadaa46d23b5ab0e26757d968b6 (diff)
Call the right function
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-xtools/run_tests/run_microbenchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/run_microbenchmark.py b/tools/run_tests/run_microbenchmark.py
index f72ec72dce..c1c8a488ae 100755
--- a/tools/run_tests/run_microbenchmark.py
+++ b/tools/run_tests/run_microbenchmark.py
@@ -235,7 +235,7 @@ for bm_name in args.benchmarks:
if args.diff_perf:
for bm_name in args.benchmarks:
run_summary(bm_name, 'opt', '%s.new' % bm_name)
- where_am_i = subprocess.check_call(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
+ where_am_i = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
subprocess.check_call(['git', 'checkout', args.diff_perf])
comparables = []
subprocess.check_call(['make', 'clean'])