aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-01 14:17:37 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-03-01 14:17:37 -0800
commit6d91f2d27b4d7b1dff94b21920f7764ade1c9936 (patch)
treeec19d77903c3e739b19cf1d52b129a6440f6a747 /tools/run_tests
parentaa296fec74ac7781ac1f26df2b091e8b1afe38fd (diff)
strip
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 c1c8a488ae..2da52e5d49 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_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
+ where_am_i = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD']).strip()
subprocess.check_call(['git', 'checkout', args.diff_perf])
comparables = []
subprocess.check_call(['make', 'clean'])