Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: tools/run-bisect-perf-regression.py

Issue 512703005: Don't set goma_dir in config if path_to_goma is None. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/run-bisect-perf-regression.py
diff --git a/tools/run-bisect-perf-regression.py b/tools/run-bisect-perf-regression.py
index 9b188ec2bb1f91f14bf2313fc2df1dbcfd84cd31..cc05c0ffab3b205ac755619f9f95dd34441949dd 100755
--- a/tools/run-bisect-perf-regression.py
+++ b/tools/run-bisect-perf-regression.py
@@ -354,7 +354,8 @@ def _SetupAndRunPerformanceTest(config, path_to_file, path_to_goma):
try:
with Goma(path_to_goma) as _:
config['use_goma'] = bool(path_to_goma)
- config['goma_dir'] = os.path.abspath(path_to_goma)
+ if config['use_goma']:
+ config['goma_dir'] = os.path.abspath(path_to_goma)
_RunPerformanceTest(config, path_to_file)
return 0
except RuntimeError, e:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698