summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 13:12:07 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 13:12:07 +0000
commit538c7eba3474abc459671f9d7c43fe79fe5395ef (patch)
tree937b3e1842df270ae522d45ee72c7662ddacfa8f /tools
parent96d2f7f6c9dc5188e053ddfb106ab38459c31856 (diff)
downloadchromium_src-538c7eba3474abc459671f9d7c43fe79fe5395ef.zip
chromium_src-538c7eba3474abc459671f9d7c43fe79fe5395ef.tar.gz
chromium_src-538c7eba3474abc459671f9d7c43fe79fe5395ef.tar.bz2
Use 64bit error hashes everywhere.
BUG=none TEST=none Review URL: http://codereview.chromium.org/3711001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62138 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/valgrind/test_suppressions.py6
-rwxr-xr-xtools/valgrind/waterfall.sh4
2 files changed, 3 insertions, 7 deletions
diff --git a/tools/valgrind/test_suppressions.py b/tools/valgrind/test_suppressions.py
index a0f64bf..46bf68e 100644
--- a/tools/valgrind/test_suppressions.py
+++ b/tools/valgrind/test_suppressions.py
@@ -42,11 +42,7 @@ def ReadReportsFromFile(filename):
in_suppression = True
cur_supp = ["{"]
elif line.find("Suppression (error hash=#") == 0:
- last_hash = line[25:33]
- # Work around an (fixed) bug in memcheck_analyze.py.
- # TODO(jochen): delete this after a couple of days.
- if last_hash[0] == '-':
- last_hash = line[26:34]
+ last_hash = line[25:41]
# The line at the end of the file is assumed to store the URL of the report.
return reports,line
diff --git a/tools/valgrind/waterfall.sh b/tools/valgrind/waterfall.sh
index 826cbb5..2145502 100755
--- a/tools/valgrind/waterfall.sh
+++ b/tools/valgrind/waterfall.sh
@@ -124,9 +124,9 @@ find_blame() {
fi
HASH="#$3#"
- if ! echo "$3" | grep -q -e '^[0-9A-F]\{8\}$'
+ if ! echo "$3" | grep -q -e '^[0-9A-F]\{16\}$'
then
- echo "The hash '$3' looks strange, it should match ^[0-9A-F]{8}$"
+ echo "The hash '$3' looks strange, it should match ^[0-9A-F]{16}$"
exit 1
fi