summaryrefslogtreecommitdiffstats
path: root/tools/run-bisect-perf-regression.py
diff options
context:
space:
mode:
authormmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-08 00:49:57 +0000
committermmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-08 00:49:57 +0000
commit7a960ade609bfd7e4f07f8e8582455a9670bb399 (patch)
tree2aac17d391e920746b8c08a3a16f616660b63f0b /tools/run-bisect-perf-regression.py
parent095dc66a17452adee8f2458d4d539f5a4dd17f01 (diff)
downloadchromium_src-7a960ade609bfd7e4f07f8e8582455a9670bb399.zip
chromium_src-7a960ade609bfd7e4f07f8e8582455a9670bb399.tar.gz
chromium_src-7a960ade609bfd7e4f07f8e8582455a9670bb399.tar.bz2
Fix for "gomacc not found" on perf bisect steps.
BUG=386662 Review URL: https://codereview.chromium.org/363203004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/run-bisect-perf-regression.py')
-rwxr-xr-xtools/run-bisect-perf-regression.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/run-bisect-perf-regression.py b/tools/run-bisect-perf-regression.py
index 3a7ddb0..c2f42ad 100755
--- a/tools/run-bisect-perf-regression.py
+++ b/tools/run-bisect-perf-regression.py
@@ -196,6 +196,8 @@ def _CreateBisectOptionsFromConfig(config):
if config.has_key('use_goma'):
opts_dict['use_goma'] = config['use_goma']
+ if config.has_key('goma_dir'):
+ opts_dict['goma_dir'] = config['goma_dir']
opts_dict['build_preference'] = 'ninja'
opts_dict['output_buildbot_annotations'] = True
@@ -318,6 +320,7 @@ def _SetupAndRunPerformanceTest(config, path_to_file, path_to_goma):
try:
with Goma(path_to_goma) as goma:
config['use_goma'] = bool(path_to_goma)
+ config['goma_dir'] = os.path.abspath(path_to_goma)
_RunPerformanceTest(config, path_to_file)
return 0
except RuntimeError, e: