diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 12:59:06 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 12:59:06 +0000 |
commit | 093ae2e104899325a1bacee5ad1990f44305506e (patch) | |
tree | 0383c5d8db6d71e8ad3c61df6ef0c1d850aa8eb4 /tools/valgrind | |
parent | 3dd72c36d13ddbd9716794827f161444ed718dec (diff) | |
download | chromium_src-093ae2e104899325a1bacee5ad1990f44305506e.zip chromium_src-093ae2e104899325a1bacee5ad1990f44305506e.tar.gz chromium_src-093ae2e104899325a1bacee5ad1990f44305506e.tar.bz2 |
Fix format for suppression hash in memcheck_analyze.py
BUG=52415
TEST=none
Review URL: http://codereview.chromium.org/3104014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56336 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind')
-rwxr-xr-x | tools/valgrind/memcheck_analyze.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/valgrind/memcheck_analyze.py b/tools/valgrind/memcheck_analyze.py index 0cf19f2..f3ebad0 100755 --- a/tools/valgrind/memcheck_analyze.py +++ b/tools/valgrind/memcheck_analyze.py @@ -250,7 +250,7 @@ class ValgrindError: assert self._suppression != None, "Your Valgrind doesn't generate " \ "suppressions - is it too old?" - output += "Suppression (error hash=#%X#):" % \ + output += "Suppression (error hash=#%016X#):" % \ (self.__hash__() & 0xffffffffffffffff) # Widen suppression slightly to make portable between mac and linux supp = self._suppression; @@ -493,8 +493,8 @@ class MemcheckAnalyzer: # We haven't seen such errors doing this report yet... if error in self._errors: # ... but we saw it in earlier reports, e.g. previous UI test - cur_report_errors.add("This error was already printed " - "in some other test, see 'hash=#%X#'" % \ + cur_report_errors.add("This error was already printed in " + "some other test, see 'hash=#%016X#'" % \ (error.__hash__() & 0xffffffffffffffff)) else: # ... and we haven't seen it in other tests as well |