Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: PRESUBMIT.py

Issue 794303004: Removed references to win_gpu, which has been removed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_linux_gpu_bots_from_presubmit
Patch Set: Rebase Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | PRESUBMIT_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Top-level presubmit script for Chromium. 5 """Top-level presubmit script for Chromium.
6 6
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details about the presubmit API built into depot_tools. 8 for more details about the presubmit API built into depot_tools.
9 """ 9 """
10 10
(...skipping 1642 matching lines...) Expand 10 before | Expand all | Expand 10 after
1653 1653
1654 1654
1655 def GetTryServerMasterForBot(bot): 1655 def GetTryServerMasterForBot(bot):
1656 """Returns the Try Server master for the given bot. 1656 """Returns the Try Server master for the given bot.
1657 1657
1658 It tries to guess the master from the bot name, but may still fail 1658 It tries to guess the master from the bot name, but may still fail
1659 and return None. There is no longer a default master. 1659 and return None. There is no longer a default master.
1660 """ 1660 """
1661 # Potentially ambiguous bot names are listed explicitly. 1661 # Potentially ambiguous bot names are listed explicitly.
1662 master_map = { 1662 master_map = {
1663 'win_gpu': 'tryserver.chromium.gpu',
1664 'chromium_presubmit': 'tryserver.chromium.linux', 1663 'chromium_presubmit': 'tryserver.chromium.linux',
1665 'blink_presubmit': 'tryserver.chromium.linux', 1664 'blink_presubmit': 'tryserver.chromium.linux',
1666 'tools_build_presubmit': 'tryserver.chromium.linux', 1665 'tools_build_presubmit': 'tryserver.chromium.linux',
1667 } 1666 }
1668 master = master_map.get(bot) 1667 master = master_map.get(bot)
1669 if not master: 1668 if not master:
1670 if 'gpu' in bot: 1669 if 'gpu' in bot:
1671 master = 'tryserver.chromium.gpu' 1670 master = 'tryserver.chromium.gpu'
1672 elif 'linux' in bot or 'android' in bot or 'presubmit' in bot: 1671 elif 'linux' in bot or 'android' in bot or 'presubmit' in bot:
1673 master = 'tryserver.chromium.linux' 1672 master = 'tryserver.chromium.linux'
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
1757 if 'presubmit' in builder: 1756 if 'presubmit' in builder:
1758 builders[master].pop(builder) 1757 builders[master].pop(builder)
1759 1758
1760 # Match things like path/aura/file.cc and path/file_aura.cc. 1759 # Match things like path/aura/file.cc and path/file_aura.cc.
1761 # Same for chromeos. 1760 # Same for chromeos.
1762 if any(re.search(r'[\\\/_](aura|chromeos)', f) for f in files): 1761 if any(re.search(r'[\\\/_](aura|chromeos)', f) for f in files):
1763 tryserver_linux = builders.setdefault('tryserver.chromium.linux', {}) 1762 tryserver_linux = builders.setdefault('tryserver.chromium.linux', {})
1764 tryserver_linux['linux_chromium_chromeos_asan_rel_ng'] = ['defaulttests'] 1763 tryserver_linux['linux_chromium_chromeos_asan_rel_ng'] = ['defaulttests']
1765 1764
1766 return builders 1765 return builders
OLDNEW
« no previous file with comments | « no previous file | PRESUBMIT_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698