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

Side by Side Diff: PRESUBMIT.py

Issue 2205383002: Remove Blink auto-roll script (scripts/tools/blink_roller/). (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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 | scripts/tools/blink_roller/OWNERS » ('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 git cl. 8 details on the presubmit API built into git cl.
9 """ 9 """
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 tests.extend(input_api.canned_checks.GetUnitTestsInDirectory( 102 tests.extend(input_api.canned_checks.GetUnitTestsInDirectory(
103 input_api, 103 input_api,
104 output_api, 104 output_api,
105 input_api.os_path.join('scripts', 'common', 'unittests'), 105 input_api.os_path.join('scripts', 'common', 'unittests'),
106 whitelist)) 106 whitelist))
107 tests.extend(input_api.canned_checks.GetUnitTestsInDirectory( 107 tests.extend(input_api.canned_checks.GetUnitTestsInDirectory(
108 input_api, 108 input_api,
109 output_api, 109 output_api,
110 input_api.os_path.join('scripts', 'tools', 'unittests'), 110 input_api.os_path.join('scripts', 'tools', 'unittests'),
111 whitelist)) 111 whitelist))
112 tests.extend(input_api.canned_checks.GetUnitTestsInDirectory(
113 input_api,
114 output_api,
115 input_api.os_path.join('scripts', 'tools', 'blink_roller'),
116 whitelist))
117 112
118 recipe_modules_tests = input_api.glob( 113 recipe_modules_tests = input_api.glob(
119 join('scripts', 'slave', 'recipe_modules', '*', 'tests')) 114 join('scripts', 'slave', 'recipe_modules', '*', 'tests'))
120 for path in recipe_modules_tests: 115 for path in recipe_modules_tests:
121 tests.extend(input_api.canned_checks.GetUnitTestsInDirectory( 116 tests.extend(input_api.canned_checks.GetUnitTestsInDirectory(
122 input_api, 117 input_api,
123 output_api, 118 output_api,
124 path, 119 path,
125 whitelist)) 120 whitelist))
126 121
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 def CheckChangeOnUpload(input_api, output_api): 176 def CheckChangeOnUpload(input_api, output_api):
182 return [] # Try-jobs/commit-queue do a better job of testing, faster. 177 return [] # Try-jobs/commit-queue do a better job of testing, faster.
183 178
184 179
185 def CheckChangeOnCommit(input_api, output_api): 180 def CheckChangeOnCommit(input_api, output_api):
186 output = CommonChecks(input_api, output_api) 181 output = CommonChecks(input_api, output_api)
187 output.extend(ConditionalChecks(input_api, output_api)) 182 output.extend(ConditionalChecks(input_api, output_api))
188 output.extend(CommitChecks(input_api, output_api)) 183 output.extend(CommitChecks(input_api, output_api))
189 output.extend(BuildInternalCheck(output, input_api, output_api)) 184 output.extend(BuildInternalCheck(output, input_api, output_api))
190 return output 185 return output
OLDNEW
« no previous file with comments | « no previous file | scripts/tools/blink_roller/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698