Skip to content

Commit

Permalink
Add Cronet iOS trybot to all iOS changes.
Browse files Browse the repository at this point in the history
Bug: 712733
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I3a774cc6680a96849a9ce013fb2943361e0abe91
Reviewed-on: https://chromium-review.googlesource.com/726004
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Reviewed-by: Eugene But <eugenebut@chromium.org>
Commit-Queue: Misha Efimov <mef@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509821}
  • Loading branch information
Misha Efimov authored and Commit Bot committed Oct 18, 2017
1 parent da3f64e commit 015b1d8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ios/PRESUBMIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,16 @@ def CheckChangeOnUpload(input_api, output_api):
results = []
results.extend(_CheckBugInToDo(input_api, output_api))
return results

def PostUploadHook(cl, change, output_api):
"""git cl upload will call this hook after the issue is created/modified.
This hook adds an extra try bot to the CL description in order to run Cronet
tests in addition to CQ try bots.
"""

# TODO(crbug.com/712733): Remove this once Cronet bots are deployed on CQ.
try_bots = ['master.tryserver.chromium.mac:ios-simulator-cronet']

return output_api.EnsureCQIncludeTrybotsAreAdded(
cl, try_bots, 'Automatically added Cronet trybots to run tests on CQ.')

0 comments on commit 015b1d8

Please sign in to comment.