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

Side by Side Diff: PRESUBMIT.py

Issue 225633007: Upgrade to coverage 3.7.1 and have it auto-build itself on first use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: sigh our imports are a mess Created 6 years, 8 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 | « no previous file | scripts/slave/unittests/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Top-level presubmit script for buildbot. 5 """Top-level presubmit script for buildbot.
6 6
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for
8 details on the presubmit API built into gcl. 8 details on the presubmit API built into gcl.
9 """ 9 """
10 10
(...skipping 16 matching lines...) Expand all
27 r'.*masters/.*/public_html/.*\.html$', 27 r'.*masters/.*/public_html/.*\.html$',
28 r'.*masters/.*/public_html/.*\.css$', 28 r'.*masters/.*/public_html/.*\.css$',
29 ] 29 ]
30 tests = [] 30 tests = []
31 sys_path_backup = sys.path 31 sys_path_backup = sys.path
32 try: 32 try:
33 sys.path = [ 33 sys.path = [
34 join('third_party'), 34 join('third_party'),
35 join('third_party', 'buildbot_8_4p1'), 35 join('third_party', 'buildbot_8_4p1'),
36 join('third_party', 'buildbot_slave_8_4'), 36 join('third_party', 'buildbot_slave_8_4'),
37 join('third_party', 'coverage-3.6'), 37 join('third_party', 'coverage-3.7.1'),
38 join('third_party', 'decorator_3_3_1'), 38 join('third_party', 'decorator_3_3_1'),
39 join('third_party', 'jinja2'), 39 join('third_party', 'jinja2'),
40 join('third_party', 'mock-1.0.1'), 40 join('third_party', 'mock-1.0.1'),
41 join('third_party', 'sqlalchemy_0_7_1'), 41 join('third_party', 'sqlalchemy_0_7_1'),
42 join('third_party', 'sqlalchemy_migrate_0_7_1'), 42 join('third_party', 'sqlalchemy_migrate_0_7_1'),
43 join('third_party', 'tempita_0_5'), 43 join('third_party', 'tempita_0_5'),
44 join('third_party', 'twisted_10_2'), 44 join('third_party', 'twisted_10_2'),
45 join('scripts'), 45 join('scripts'),
46 # Initially, a separate run was done for unit tests but now that 46 # Initially, a separate run was done for unit tests but now that
47 # pylint is fetched in memory with setuptools, it seems it caches 47 # pylint is fetched in memory with setuptools, it seems it caches
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 118
119 def CheckChangeOnUpload(input_api, output_api): 119 def CheckChangeOnUpload(input_api, output_api):
120 output = CommonChecks(input_api, output_api) 120 output = CommonChecks(input_api, output_api)
121 output.extend(BuildInternalCheck(output, input_api, output_api)) 121 output.extend(BuildInternalCheck(output, input_api, output_api))
122 return output 122 return output
123 123
124 124
125 def CheckChangeOnCommit(input_api, output_api): 125 def CheckChangeOnCommit(input_api, output_api):
126 return CheckChangeOnUpload(input_api, output_api) 126 return CheckChangeOnUpload(input_api, output_api)
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/unittests/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698