Add linux_chromeos and linux_chromeos_clang as preferred try bots whenever...

Add linux_chromeos and linux_chromeos_clang as preferred try bots whenever chromeos files are modified.

TBR=maruel@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10827137

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149616 0039d316-1c4b-4281-b951-d872f2087c98
parent 3cb052d5
...@@ -565,8 +565,10 @@ def GetPreferredTrySlaves(project, change): ...@@ -565,8 +565,10 @@ def GetPreferredTrySlaves(project, change):
trybots = ['win_rel', 'linux_rel', 'mac_rel', 'linux_clang:compile', trybots = ['win_rel', 'linux_rel', 'mac_rel', 'linux_clang:compile',
'android'] 'android']
# match things like aurax11.cc or aura_oak.cc
if any(re.search('[/_]aura', f) for f in files): # Match things like path/aura/file.cc and path/file_aura.cc.
trybots.append('linux_chromeos') # Same for chromeos.
if any(re.search('[/_](aura|chromeos)', f) for f in files):
trybots += ['linux_chromeos', 'linux_chromeos_clang:compile']
return trybots return trybots
# Copyright (c) 2012 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 chrome/browser/chromeos.
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_chromeos',
'linux_chromeos_clang:compile',
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment