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

Side by Side Diff: tools/run-bisect-perf-regression.py

Issue 815083004: [bisect] - Set goma_dir parameter from run-bisect-perf-regression.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Run Performance Test Bisect Tool 6 """Run Performance Test Bisect Tool
7 7
8 This script is used by a try bot to run the bisect script with the parameters 8 This script is used by a try bot to run the bisect script with the parameters
9 specified in the bisect config file. It checks out a copy of the depot in 9 specified in the bisect config file. It checks out a copy of the depot in
10 a subdirectory 'bisect' of the working directory provided, annd runs the 10 a subdirectory 'bisect' of the working directory provided, annd runs the
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 if path_to_goma: 532 if path_to_goma:
533 # For Windows XP platforms, goma service is not supported. 533 # For Windows XP platforms, goma service is not supported.
534 # Moreover we don't compile chrome when gs_bucket flag is set instead 534 # Moreover we don't compile chrome when gs_bucket flag is set instead
535 # use builds archives, therefore ignore goma service for Windows XP. 535 # use builds archives, therefore ignore goma service for Windows XP.
536 # See http://crbug.com/330900. 536 # See http://crbug.com/330900.
537 if platform.release() == 'XP': 537 if platform.release() == 'XP':
538 print ('Goma doesn\'t have a win32 binary, therefore it is not supported ' 538 print ('Goma doesn\'t have a win32 binary, therefore it is not supported '
539 'on Windows XP platform. Please refer to crbug.com/330900.') 539 'on Windows XP platform. Please refer to crbug.com/330900.')
540 path_to_goma = None 540 path_to_goma = None
541 cmd.append('--use_goma') 541 cmd.append('--use_goma')
542 cmd.append('--goma_dir')
543 cmd.append(os.path.abspath(path_to_goma))
542 544
543 if path_to_extra_src: 545 if path_to_extra_src:
544 cmd.extend(['--extra_src', path_to_extra_src]) 546 cmd.extend(['--extra_src', path_to_extra_src])
545 547
546 if dry_run: 548 if dry_run:
547 cmd.extend([ 549 cmd.extend([
548 '--debug_ignore_build', 550 '--debug_ignore_build',
549 '--debug_ignore_sync', 551 '--debug_ignore_sync',
550 '--debug_ignore_perf_test' 552 '--debug_ignore_perf_test'
551 ]) 553 ])
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 if config and config_is_valid: 654 if config and config_is_valid:
653 return _SetupAndRunPerformanceTest(config, opts.path_to_goma) 655 return _SetupAndRunPerformanceTest(config, opts.path_to_goma)
654 656
655 print ('Error: Could not load config file. Double check your changes to ' 657 print ('Error: Could not load config file. Double check your changes to '
656 'auto_bisect/bisect.cfg or run-perf-test.cfg for syntax errors.\n') 658 'auto_bisect/bisect.cfg or run-perf-test.cfg for syntax errors.\n')
657 return 1 659 return 1
658 660
659 661
660 if __name__ == '__main__': 662 if __name__ == '__main__':
661 sys.exit(main()) 663 sys.exit(main())
OLDNEW
« 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