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

Unified Diff: tools/valgrind/drmemory/PRESUBMIT.py

Issue 2435853004: Remove DrMemory suppressions and test exclusions. (Closed)
Patch Set: Created 4 years, 2 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/drmemory/OWNERS ('k') | tools/valgrind/drmemory/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/drmemory/PRESUBMIT.py
diff --git a/tools/valgrind/drmemory/PRESUBMIT.py b/tools/valgrind/drmemory/PRESUBMIT.py
deleted file mode 100644
index 95dcd6577e8d3b691b6033ca2399b359356b6913..0000000000000000000000000000000000000000
--- a/tools/valgrind/drmemory/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 depot_tools.
-"""
-
-
-def CheckChange(input_api, output_api):
- """Checks the DrMemory suppression 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 {
- 'master.tryserver.chromium.win': {
- 'win_drmemory': set(['defaulttests']),
- }
- }
« no previous file with comments | « tools/valgrind/drmemory/OWNERS ('k') | tools/valgrind/drmemory/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698