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, |
+ } |
+ } |