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

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

Issue 359013002: Make a directory in which to put bisect-related modules. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bisect -> auto_bisect Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « tools/prepare-bisect-perf-regression.py ('k') | 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 trybot to run the src/tools/bisect-perf-regression.py 8 This script is used by a trybot to run the src/tools/bisect-perf-regression.py
9 script with the parameters specified in run-bisect-perf-regression.cfg. It will 9 script with the parameters specified in run-bisect-perf-regression.cfg. It will
10 check out a copy of the depot in a subdirectory 'bisect' of the working 10 check out a copy of the depot in a subdirectory 'bisect' of the working
11 directory provided, and run the bisect-perf-regression.py script there. 11 directory provided, and run the bisect-perf-regression.py script there.
12 12
13 """ 13 """
14 14
15 import imp 15 import imp
16 import optparse 16 import optparse
17 import os 17 import os
18 import platform 18 import platform
19 import subprocess 19 import subprocess
20 import sys 20 import sys
21 import traceback 21 import traceback
22 22
23 import bisect_utils 23 from auto_bisect import bisect_utils
24
24 bisect = imp.load_source('bisect-perf-regression', 25 bisect = imp.load_source('bisect-perf-regression',
25 os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), 26 os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])),
26 'bisect-perf-regression.py')) 27 'bisect-perf-regression.py'))
27 28
28 29
29 CROS_BOARD_ENV = 'BISECT_CROS_BOARD' 30 CROS_BOARD_ENV = 'BISECT_CROS_BOARD'
30 CROS_IP_ENV = 'BISECT_CROS_IP' 31 CROS_IP_ENV = 'BISECT_CROS_IP'
31 32
32 33
33 class Goma(object): 34 class Goma(object):
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 opts.path_to_goma) 515 opts.path_to_goma)
515 516
516 print 'Error: Could not load config file. Double check your changes to '\ 517 print 'Error: Could not load config file. Double check your changes to '\
517 'run-bisect-perf-regression.cfg/run-perf-test.cfg for syntax errors.' 518 'run-bisect-perf-regression.cfg/run-perf-test.cfg for syntax errors.'
518 print 519 print
519 return 1 520 return 1
520 521
521 522
522 if __name__ == '__main__': 523 if __name__ == '__main__':
523 sys.exit(main()) 524 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/prepare-bisect-perf-regression.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698