OLD | NEW |
1 # Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2016 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 media/gpu/. | 5 """Top-level presubmit script for media/gpu/. |
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 about the presubmit API built into depot_tools. | 8 for more details about the presubmit API built into depot_tools. |
9 """ | 9 """ |
10 | 10 |
11 def PostUploadHook(cl, change, output_api): | 11 def PostUploadHook(cl, change, output_api): |
12 """git cl upload will call this hook after the issue is created/modified. | 12 """git cl upload will call this hook after the issue is created/modified. |
13 | 13 |
14 This hook modifies the CL description in order to run extra GPU | 14 This hook modifies the CL description in order to run extra GPU |
15 tests (in particular, the WebGL 2.0 conformance tests) in addition | 15 tests (in particular, the WebGL 2.0 conformance tests) in addition |
16 to the regular CQ try bots. This test suite is too large to run | 16 to the regular CQ try bots. This test suite is too large to run |
17 against all Chromium commits, but should be run against changes | 17 against all Chromium commits, but should be run against changes |
18 likely to affect these tests. | 18 likely to affect these tests. |
19 """ | 19 """ |
20 return output_api.EnsureCQIncludeTrybotsAreAdded( | 20 return output_api.EnsureCQIncludeTrybotsAreAdded( |
21 cl, | 21 cl, |
22 [ | 22 [ |
23 'master.tryserver.chromium.linux:linux_optional_gpu_tests_rel', | 23 'master.tryserver.chromium.linux:linux_optional_gpu_tests_rel', |
24 'master.tryserver.chromium.mac:mac_optional_gpu_tests_rel', | 24 'master.tryserver.chromium.mac:mac_optional_gpu_tests_rel', |
25 'master.tryserver.chromium.win:win_optional_gpu_tests_rel', | 25 'master.tryserver.chromium.win:win_optional_gpu_tests_rel', |
| 26 'master.tryserver.chromium.android:android_optional_gpu_tests_rel', |
26 ], | 27 ], |
27 'Automatically added optional GPU tests to run on CQ.') | 28 'Automatically added optional GPU tests to run on CQ.') |
OLD | NEW |