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

Unified Diff: ui/events/PRESUBMIT.py

Issue 194903007: Convert most Chromium presubmit files to use new multiple-tryserver-compatible protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ui/events/PRESUBMIT.py
diff --git a/ui/events/PRESUBMIT.py b/ui/events/PRESUBMIT.py
index a9ce2a9c565e11dac63c4c2374dfe45ed3ce7b50..880c83cb6b4b00971c9eb52eb3af6e1434c60804 100644
--- a/ui/events/PRESUBMIT.py
+++ b/ui/events/PRESUBMIT.py
@@ -8,15 +8,19 @@ See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details on the presubmit API built into gcl.
"""
-def GetPreferredTrySlaves():
+def GetPreferredTryMasters(project, change):
tests = set(['ash_unittests',
'aura_unittests',
'events_unittests',
'keyboard_unittests',
'views_unittests'])
- return [('linux_rel', tests),
- ('linux_chromeos', tests),
- ('linux_chromeos_asan', tests),
- ('win', tests),
- ('win_rel', tests)]
+ return {
+ 'tryserver.chromium': {
+ 'linux_rel': tests,
M-A Ruel 2014/03/11 20:54:49 do you want to make a copy to get around aliasing?
Paweł Hajdan Jr. 2014/03/11 21:25:41 I think it shouldn't be a problem.
+ 'linux_chromeos': tests,
+ 'linux_chromeos_asan': tests,
+ 'win': tests,
+ 'win_rel': tests,
+ }
+ }
« skia/PRESUBMIT.py ('K') | « ui/compositor/PRESUBMIT.py ('k') | ui/gl/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698