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

Side by Side Diff: tools/valgrind/tsan/PRESUBMIT.py

Issue 416363003: Remove the contents of tools/valgrind/tsan. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: README Created 6 years, 4 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 | « tools/valgrind/tsan/OWNERS ('k') | tools/valgrind/tsan/README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4 """
5 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
6 for more details on the presubmit API built into gcl.
7 """
8
9
10 def CheckChange(input_api, output_api):
11 """Checks the TSan suppressions files for bad suppressions."""
12
13 # TODO(timurrrr): find out how to do relative imports
14 # and remove this ugly hack. Also, the CheckChange function won't be needed.
15 tools_vg_path = input_api.os_path.join(input_api.PresubmitLocalPath(), '..')
16 import sys
17 old_path = sys.path
18 try:
19 sys.path = sys.path + [tools_vg_path]
20 import suppressions
21 return suppressions.PresubmitCheck(input_api, output_api)
22 finally:
23 sys.path = old_path
24
25
26 def CheckChangeOnUpload(input_api, output_api):
27 return CheckChange(input_api, output_api)
28
29
30 def CheckChangeOnCommit(input_api, output_api):
31 return CheckChange(input_api, output_api)
32
33
34 def GetPreferredTryMasters(project, change):
35 return {
36 'tryserver.chromium': {
37 'linux_tsan': set(['defaulttests']),
38 }
39 }
OLDNEW
« no previous file with comments | « tools/valgrind/tsan/OWNERS ('k') | tools/valgrind/tsan/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698