Skip to content

Commit

Permalink
Add GetPreferredTrySlaves() to presubmit scripts.
Browse files Browse the repository at this point in the history
BUG=23071
TEST=none
Review URL: http://codereview.chromium.org/251024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27449 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
thestig@chromium.org committed Sep 29, 2009
1 parent b215a38 commit 5fa0629
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PRESUBMIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,7 @@ def CheckTreeIsOpen(input_api, output_api, url, closed, url_text):
except IOError:
pass
return []


def GetPreferredTrySlaves():
return ['win', 'linux', 'mac']
13 changes: 13 additions & 0 deletions chrome/browser/views/PRESUBMIT.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/python
# Copyright (c) 2009 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/browser/view.
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_view']
13 changes: 13 additions & 0 deletions views/PRESUBMIT.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/python
# Copyright (c) 2009 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/views.
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_view']

0 comments on commit 5fa0629

Please sign in to comment.