From 1c649fa48d64339fcd0ba358cd429ff1341272af Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Tue, 11 Mar 2014 21:45:27 +0000 Subject: Convert most Chromium presubmit files to use new multiple-tryserver-compatible protocol BUG=334892 R=maruel@chromium.org Review URL: https://codereview.chromium.org/194903007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256318 0039d316-1c4b-4281-b951-d872f2087c98 --- sync/PRESUBMIT.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'sync') diff --git a/sync/PRESUBMIT.py b/sync/PRESUBMIT.py index 8768cb0..aad404c 100644 --- a/sync/PRESUBMIT.py +++ b/sync/PRESUBMIT.py @@ -8,9 +8,11 @@ See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more details on the presubmit API built into gcl. """ -def GetPreferredTrySlaves(): - return [ - 'linux_rel:sync_integration_tests', - 'mac_rel:sync_integration_tests', - 'win_rel:sync_integration_tests', - ] +def GetPreferredTryMasters(project, change): + return { + 'tryserver.chromium': { + 'linux_rel': set(['sync_integration_tests']), + 'mac_rel': set(['sync_integration_tests']), + 'win_rel': set(['sync_integration_tests']), + } + } -- cgit v1.1