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: |