Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: tools/heapcheck/PRESUBMIT.py

Issue 7645008: Valgrind/Heapchecker: Check for accidental copy/paste in suppression files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/valgrind/memcheck/PRESUBMIT.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/heapcheck/PRESUBMIT.py
===================================================================
--- tools/heapcheck/PRESUBMIT.py (revision 96607)
+++ tools/heapcheck/PRESUBMIT.py (working copy)
@@ -25,6 +25,9 @@
continue
if skip_next_line:
+ if 'insert_a_suppression_name_here' in line:
+ errors.append('"insert_a_suppression_name_here" is not a valid '
+ 'suppression name')
if suppressions.has_key(line):
errors.append('suppression with name "%s" at %s line %s has already '
'been defined at line %s' % (line, f.LocalPath(),
« no previous file with comments | « no previous file | tools/valgrind/memcheck/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698