Commit 43d1aaaf authored by prasadv's avatar prasadv Committed by Commit bot

Don't set goma_dir in config if path_to_goma is None.

BUG=394531
NOTRY=true

Review URL: https://codereview.chromium.org/512703005

Cr-Commit-Position: refs/heads/master@{#292283}
parent 49e25f54
......@@ -354,6 +354,7 @@ def _SetupAndRunPerformanceTest(config, path_to_file, path_to_goma):
try:
with Goma(path_to_goma) as _:
config['use_goma'] = bool(path_to_goma)
if config['use_goma']:
config['goma_dir'] = os.path.abspath(path_to_goma)
_RunPerformanceTest(config, path_to_file)
return 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment