summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 23:38:26 +0000
committerrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 23:38:26 +0000
commit2528b91f7489bdc1038db61bd16a042dfab25f7d (patch)
tree7170a3e208a9b4d1c261c3b226f0acaf37f51cb6 /chrome
parent20dc0fb27980b3d3681de86783c7a5fe6e8f6e1d (diff)
downloadchromium_src-2528b91f7489bdc1038db61bd16a042dfab25f7d.zip
chromium_src-2528b91f7489bdc1038db61bd16a042dfab25f7d.tar.gz
chromium_src-2528b91f7489bdc1038db61bd16a042dfab25f7d.tar.bz2
Force patches that touch sync test code to use the sync trybots
As of today, we have dedicated chromium trybots that can run the sync integration tests, but it requires developers to explicitly send try jobs to these bots via the --bot switch. Now that the sync trybots are stable, it is time to make this process automatic by adding a PRESUBMIT.py file to chrome/test/live_sync, that adds the sync trybots in addition to win, mac and linux to the list of preferred trybots. This patch adds such a PRESUBMIT.py file, that includes win_sync, mac_sync and linux_sync to the list of preferred trybots. TBR=tim@chromium.org BUG=70311 TEST=modify something under chrome/test/live_sync and do a "git try" or "gcl try" Review URL: http://codereview.chromium.org/6343009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72720 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/live_sync/PRESUBMIT.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/test/live_sync/PRESUBMIT.py b/chrome/test/live_sync/PRESUBMIT.py
new file mode 100644
index 0000000..a2bde4e
--- /dev/null
+++ b/chrome/test/live_sync/PRESUBMIT.py
@@ -0,0 +1,13 @@
+#!/usr/bin/python
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Chromium presubmit script for src/chrome/test/live_sync.
+
+See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
+for more details on the presubmit API built into gcl.
+"""
+
+def GetPreferredTrySlaves():
+ return ['win', 'linux', 'mac', 'win_sync', 'linux_sync', 'mac_sync']