Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: content/test/gpu/PRESUBMIT.py

Issue 2297083002: Add android optional tests to content/test/gpu presubmit. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 content/test/gpu. 5 """Top-level presubmit script for content/test/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
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 rietveld_obj = cl.RpcServer() 69 rietveld_obj = cl.RpcServer()
70 issue = cl.issue 70 issue = cl.issue
71 description = rietveld_obj.get_description(issue) 71 description = rietveld_obj.get_description(issue)
72 if re.search(r'^CQ_INCLUDE_TRYBOTS=.*', description, re.M | re.I): 72 if re.search(r'^CQ_INCLUDE_TRYBOTS=.*', description, re.M | re.I):
73 return [] 73 return []
74 74
75 bots = [ 75 bots = [
76 'master.tryserver.chromium.linux:linux_optional_gpu_tests_rel', 76 'master.tryserver.chromium.linux:linux_optional_gpu_tests_rel',
77 'master.tryserver.chromium.mac:mac_optional_gpu_tests_rel', 77 'master.tryserver.chromium.mac:mac_optional_gpu_tests_rel',
78 'master.tryserver.chromium.win:win_optional_gpu_tests_rel', 78 'master.tryserver.chromium.win:win_optional_gpu_tests_rel',
79 'master.tryserver.chromium.android:android_optional_gpu_tests_rel',
79 ] 80 ]
80 81
81 results = [] 82 results = []
82 new_description = description 83 new_description = description
83 new_description += '\nCQ_INCLUDE_TRYBOTS=%s' % ';'.join(bots) 84 new_description += '\nCQ_INCLUDE_TRYBOTS=%s' % ';'.join(bots)
84 results.append(output_api.PresubmitNotifyResult( 85 results.append(output_api.PresubmitNotifyResult(
85 'Automatically added optional GPU tests to run on CQ.')) 86 'Automatically added optional GPU tests to run on CQ.'))
86 87
87 if new_description != description: 88 if new_description != description:
88 rietveld_obj.update_description(issue, new_description) 89 rietveld_obj.update_description(issue, new_description)
89 90
90 return results 91 return results
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698