summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/valgrind_test.py
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-30 18:38:39 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-30 18:38:39 +0000
commit253652f76f5dc7813ab50b04bd337862caaf8965 (patch)
tree3bf942ece9f1b892c6af273cf2272add33dd8bba /tools/valgrind/valgrind_test.py
parent8db89020f48b2cba994f7ee48176250dad6e91c7 (diff)
downloadchromium_src-253652f76f5dc7813ab50b04bd337862caaf8965.zip
chromium_src-253652f76f5dc7813ab50b04bd337862caaf8965.tar.gz
chromium_src-253652f76f5dc7813ab50b04bd337862caaf8965.tar.bz2
Print suppressions used by ThreadSanitizer.
The suppression-count logic is copied from memcheck_analyze.py Review URL: http://codereview.chromium.org/246046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27638 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/valgrind_test.py')
-rwxr-xr-xtools/valgrind/valgrind_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/valgrind/valgrind_test.py b/tools/valgrind/valgrind_test.py
index 0a23088..b250035 100755
--- a/tools/valgrind/valgrind_test.py
+++ b/tools/valgrind/valgrind_test.py
@@ -412,6 +412,9 @@ class ThreadSanitizer(ValgrindTool):
if os.path.exists(fullname):
ret += ["--ignore=%s" % fullname]
+ # The -v flag is needed for printing the list of used suppressions.
+ ret += ["-v"]
+
ret += ["--file-prefix-to-cut=%s/" % self._source_dir]
if self.EvalBoolFlag(self._options.pure_happens_before):