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

Unified 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, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/valgrind/tsan/OWNERS ('k') | tools/valgrind/tsan/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/tsan/PRESUBMIT.py
diff --git a/tools/valgrind/tsan/PRESUBMIT.py b/tools/valgrind/tsan/PRESUBMIT.py
deleted file mode 100644
index 15b7e569f214fd5bbeb494331ff09a6dda51f42a..0000000000000000000000000000000000000000
--- a/tools/valgrind/tsan/PRESUBMIT.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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.
-"""
-See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
-for more details on the presubmit API built into gcl.
-"""
-
-
-def CheckChange(input_api, output_api):
- """Checks the TSan suppressions files for bad suppressions."""
-
- # TODO(timurrrr): find out how to do relative imports
- # and remove this ugly hack. Also, the CheckChange function won't be needed.
- tools_vg_path = input_api.os_path.join(input_api.PresubmitLocalPath(), '..')
- import sys
- old_path = sys.path
- try:
- sys.path = sys.path + [tools_vg_path]
- import suppressions
- return suppressions.PresubmitCheck(input_api, output_api)
- finally:
- sys.path = old_path
-
-
-def CheckChangeOnUpload(input_api, output_api):
- return CheckChange(input_api, output_api)
-
-
-def CheckChangeOnCommit(input_api, output_api):
- return CheckChange(input_api, output_api)
-
-
-def GetPreferredTryMasters(project, change):
- return {
- 'tryserver.chromium': {
- 'linux_tsan': set(['defaulttests']),
- }
- }
« 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