summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-05 18:15:23 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-05 18:15:23 +0000
commit751ca3402ed38a67f7c13127695a4fd31f4e8339 (patch)
tree22b4478abe0cc5ad862fc3df20112716df725cda /tools
parentd98060936bda47490ee617dcd959f56013cb7884 (diff)
downloadchromium_src-751ca3402ed38a67f7c13127695a4fd31f4e8339.zip
chromium_src-751ca3402ed38a67f7c13127695a4fd31f4e8339.tar.gz
chromium_src-751ca3402ed38a67f7c13127695a4fd31f4e8339.tar.bz2
Fix suppression counts - ints were concatenated, not summed up
Review URL: http://codereview.chromium.org/243091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28009 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/valgrind/tsan_analyze.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/valgrind/tsan_analyze.py b/tools/valgrind/tsan_analyze.py
index 50e77e8..7c7d142 100644
--- a/tools/valgrind/tsan_analyze.py
+++ b/tools/valgrind/tsan_analyze.py
@@ -123,6 +123,7 @@ class TsanAnalyze:
match = re.search(" used_suppression:\s+([0-9]+)\s(.*)", self.line_)
if match:
count, supp_name = match.groups()
+ count = int(count)
if supp_name in self.used_suppressions:
self.used_suppressions[supp_name] += count
else: