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

Side by Side Diff: tools/lsan/PRESUBMIT.py

Issue 194903007: Convert most Chromium presubmit files to use new multiple-tryserver-compatible protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: setdefault Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « third_party/tcmalloc/PRESUBMIT.py ('k') | tools/valgrind/drmemory/PRESUBMIT.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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 """ 5 """
6 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 6 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
7 for more details on the presubmit API built into gcl. 7 for more details on the presubmit API built into gcl.
8 """ 8 """
9 9
10 import re 10 import re
(...skipping 14 matching lines...) Expand all
25 if errors: 25 if errors:
26 return [output_api.PresubmitError('\n'.join(errors))] 26 return [output_api.PresubmitError('\n'.join(errors))]
27 return [] 27 return []
28 28
29 def CheckChangeOnUpload(input_api, output_api): 29 def CheckChangeOnUpload(input_api, output_api):
30 return CheckChange(input_api, output_api) 30 return CheckChange(input_api, output_api)
31 31
32 def CheckChangeOnCommit(input_api, output_api): 32 def CheckChangeOnCommit(input_api, output_api):
33 return CheckChange(input_api, output_api) 33 return CheckChange(input_api, output_api)
34 34
35 def GetPreferredTrySlaves(): 35 def GetPreferredTryMasters(project, change):
36 return ['linux_asan'] 36 return {
37 'tryserver.chromium': {
38 'linux_asan': set(['defaulttests']),
39 }
40 }
OLDNEW
« no previous file with comments | « third_party/tcmalloc/PRESUBMIT.py ('k') | tools/valgrind/drmemory/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698