blob: 952b6eac603dab581fe1eafde25b78cd5efa7a8e [file] [log] [blame]
wfhb7440f6b2016-09-13 02:03:481# 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
7See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
8for more details about the presubmit API built into depot_tools.
9"""
10
wfhb7440f6b2016-09-13 02:03:4811def 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 """
kbr43842632017-02-16 19:06:5617 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.')