summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-12 03:05:04 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-12 03:05:04 +0000
commit4ddc5df971ed3d2965ffeab580706710e5981c03 (patch)
treec61f4101ea371fc42b2426bff20df8390eab72a4
parent822b56802b9a6649f13d8f0ab4abf365e3421472 (diff)
downloadchromium_src-4ddc5df971ed3d2965ffeab580706710e5981c03.zip
chromium_src-4ddc5df971ed3d2965ffeab580706710e5981c03.tar.gz
chromium_src-4ddc5df971ed3d2965ffeab580706710e5981c03.tar.bz2
Switch the default `git try` / `gcl try` bots to _rel.
That matches the CQ bots, and they're significantly faster. The global trybots are added to all subdirectory PRESUBMITs automatically, so remove win, linux, mac from subdirectory PRESUBMITs (instead of changing them too). BUG=99521 TEST=`git try` creates faster tryjobs. TBR=willchan (net), akalin (sync) Review URL: http://codereview.chromium.org/8162009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113979 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--PRESUBMIT.py8
-rw-r--r--base/PRESUBMIT.py2
-rw-r--r--chrome/browser/sync/PRESUBMIT.py2
-rw-r--r--chrome/common/net/PRESUBMIT.py2
-rw-r--r--jingle/PRESUBMIT.py2
-rw-r--r--net/PRESUBMIT.py2
6 files changed, 9 insertions, 9 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 074e960..aa81d30 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -317,8 +317,8 @@ def CheckChangeOnCommit(input_api, output_api):
output_api,
json_url='http://chromium-status.appspot.com/current?format=json'))
results.extend(input_api.canned_checks.CheckRietveldTryJobExecution(input_api,
- output_api, 'http://codereview.chromium.org', ('win', 'linux', 'mac'),
- 'tryserver@chromium.org'))
+ output_api, 'http://codereview.chromium.org',
+ ('win_rel', 'linux_rel', 'mac_rel'), 'tryserver@chromium.org'))
results.extend(input_api.canned_checks.CheckChangeHasBugField(
input_api, output_api))
@@ -334,5 +334,5 @@ def GetPreferredTrySlaves(project, change):
only_objc_files = all(
f.LocalPath().endswith(('.mm', '.m')) for f in change.AffectedFiles())
if only_objc_files:
- return ['mac']
- return ['win', 'linux', 'mac']
+ return ['mac_rel']
+ return ['win_rel', 'linux_rel', 'mac_rel']
diff --git a/base/PRESUBMIT.py b/base/PRESUBMIT.py
index 459751e..cf6827c 100644
--- a/base/PRESUBMIT.py
+++ b/base/PRESUBMIT.py
@@ -9,4 +9,4 @@ for more details on the presubmit API built into gcl.
"""
def GetPreferredTrySlaves():
- return ['win', 'linux', 'mac', 'win_sync', 'linux_sync', 'mac_sync']
+ return ['win_sync', 'linux_sync', 'mac_sync']
diff --git a/chrome/browser/sync/PRESUBMIT.py b/chrome/browser/sync/PRESUBMIT.py
index aeb3b07..9dca46f 100644
--- a/chrome/browser/sync/PRESUBMIT.py
+++ b/chrome/browser/sync/PRESUBMIT.py
@@ -9,4 +9,4 @@ for more details on the presubmit API built into gcl.
"""
def GetPreferredTrySlaves():
- return ['win', 'linux', 'mac', 'win_sync', 'linux_sync', 'mac_sync']
+ return ['win_sync', 'linux_sync', 'mac_sync']
diff --git a/chrome/common/net/PRESUBMIT.py b/chrome/common/net/PRESUBMIT.py
index c7e0e21..7eac4b6 100644
--- a/chrome/common/net/PRESUBMIT.py
+++ b/chrome/common/net/PRESUBMIT.py
@@ -9,4 +9,4 @@ for more details on the presubmit API built into gcl.
"""
def GetPreferredTrySlaves():
- return ['win', 'linux', 'mac', 'win_sync', 'linux_sync', 'mac_sync']
+ return ['win_sync', 'linux_sync', 'mac_sync']
diff --git a/jingle/PRESUBMIT.py b/jingle/PRESUBMIT.py
index 2ed4998..427ddcd 100644
--- a/jingle/PRESUBMIT.py
+++ b/jingle/PRESUBMIT.py
@@ -9,4 +9,4 @@ for more details on the presubmit API built into gcl.
"""
def GetPreferredTrySlaves():
- return ['win', 'linux', 'mac', 'win_sync', 'linux_sync', 'mac_sync']
+ return ['win_sync', 'linux_sync', 'mac_sync']
diff --git a/net/PRESUBMIT.py b/net/PRESUBMIT.py
index b81f2f5..abed52a 100644
--- a/net/PRESUBMIT.py
+++ b/net/PRESUBMIT.py
@@ -9,7 +9,7 @@ for more details on the presubmit API built into gcl.
"""
def GetPreferredTrySlaves(project, change):
- slaves = ['win', 'linux', 'mac', 'win_sync', 'linux_sync', 'mac_sync']
+ slaves = ['win_sync', 'linux_sync', 'mac_sync']
# Changes that touch NSS files will likely need a corresponding OpenSSL edit.
# Conveniently, this one glob also matches _openssl.* changes too.
if any('nss' in f.LocalPath() for f in change.AffectedFiles()):