OLD | NEW |
---|---|
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 """Chromium presubmit script for src/base. | 5 """Chromium presubmit script for src/base. |
6 | 6 |
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts | 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
8 for more details on the presubmit API built into gcl. | 8 for more details on the presubmit API built into gcl. |
9 """ | 9 """ |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... | |
41 results.extend(_CommonChecks(input_api, output_api)) | 41 results.extend(_CommonChecks(input_api, output_api)) |
42 return results | 42 return results |
43 | 43 |
44 | 44 |
45 def CheckChangeOnCommit(input_api, output_api): | 45 def CheckChangeOnCommit(input_api, output_api): |
46 results = [] | 46 results = [] |
47 results.extend(_CommonChecks(input_api, output_api)) | 47 results.extend(_CommonChecks(input_api, output_api)) |
48 return results | 48 return results |
49 | 49 |
50 | 50 |
51 def GetPreferredTrySlaves(): | 51 def GetPreferredTryMasters(project, change): |
52 return [ | 52 return { |
53 'linux_rel:sync_integration_tests', | 53 'tryserver.chromium': { |
54 'mac_rel:sync_integration_tests', | 54 'linux_rel': set(['sync_integration_tests']), |
M-A Ruel
2014/03/11 20:54:49
(FTR, this is weird)
Paweł Hajdan Jr.
2014/03/11 21:25:41
I'm interested in why this looks weird to you.
M-A Ruel
2014/03/11 21:31:01
sync_integration_tests has been sprinkled everywhe
| |
55 'win_rel:sync_integration_tests', | 55 'mac_rel': set(['sync_integration_tests']), |
56 ] | 56 'win_rel': set(['sync_integration_tests']), |
57 } | |
58 } | |
OLD | NEW |