wfh | b7440f6b | 2016-09-13 02:03:48 | [diff] [blame] | 1 | # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | """Presubmit script for chrome_elf. |
| 6 | |
| 7 | See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
| 8 | for more details about the presubmit API built into depot_tools. |
| 9 | """ |
| 10 | |
wfh | b7440f6b | 2016-09-13 02:03:48 | [diff] [blame] | 11 | def PostUploadHook(cl, change, output_api): |
| 12 | """git cl upload will call this hook after the issue is created/modified. |
| 13 | |
| 14 | This hook adds extra try bots list to the CL description in order to run |
| 15 | tests on the Windows 10 try bot in addition to CQ try bots. |
| 16 | """ |
kbr | 4384263 | 2017-02-16 19:06:56 | [diff] [blame] | 17 | return output_api.EnsureCQIncludeTrybotsAreAdded( |
| 18 | cl, |
| 19 | [ |
| 20 | 'master.tryserver.chromium.win:win10_chromium_x64_rel_ng', |
| 21 | ], |
| 22 | 'Automatically added Win10 bot to run on CQ.') |