summaryrefslogtreecommitdiffstats
path: root/tools/heapcheck/heapcheck_test.py
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-20 15:13:50 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-20 15:13:50 +0000
commit6eb495cff353d0fcc43eeac5a0e91237dfabec0c (patch)
tree6fe0a9fd24499b47b89f2374e85999d305c58a58 /tools/heapcheck/heapcheck_test.py
parent66d3bf688bf2af72ca9182a1a1195b97b06a8015 (diff)
downloadchromium_src-6eb495cff353d0fcc43eeac5a0e91237dfabec0c.zip
chromium_src-6eb495cff353d0fcc43eeac5a0e91237dfabec0c.tar.gz
chromium_src-6eb495cff353d0fcc43eeac5a0e91237dfabec0c.tar.bz2
Make the heapcheck suppressions prettier.
TBR=tvl Review URL: http://codereview.chromium.org/1520043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45036 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/heapcheck/heapcheck_test.py')
-rw-r--r--tools/heapcheck/heapcheck_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/heapcheck/heapcheck_test.py b/tools/heapcheck/heapcheck_test.py
index 178a35f..7a0132c 100644
--- a/tools/heapcheck/heapcheck_test.py
+++ b/tools/heapcheck/heapcheck_test.py
@@ -116,15 +116,15 @@ class HeapcheckWrapper(object):
# Generate the suppression iff the stack contains more than one
# frame (otherwise it's likely to be broken)
if len(cur_stack) > 1:
- print 'Suppression:\n{'
+ print '\nSuppression:\n{'
print ' <insert_a_suppression_name_here>'
print ' Heapcheck:Leak'
for frame in cur_stack:
print ' fun:' + frame
- print '}'
+ print '}\n\n\n'
else:
print ('This stack may be broken due to omitted frame pointers. '
- 'It''s not recommended to suppress it')
+ 'It is not recommended to suppress it.')
else:
# Update the suppressions histogram.
if description in used_suppressions: