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

Side by Side Diff: tools/valgrind/unused_suppressions.py

Issue 11421163: Add a tool to look for unused suppressions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 import sys
7 import urllib2
8
9 import suppressions
10
11
12 def main():
13 supp = suppressions.GetSuppressions()
14
15 all_supps = []
16 for supps in supp.values():
17 all_supps += [s.description for s in supps]
18 sys.stdout.write(urllib2.urlopen(
19 'http://chromium-build-logs.appspot.com/unused_suppressions',
20 '\n'.join(all_supps)).read())
21 return 0
22
23 if __name__ == "__main__":
24 sys.exit(main())
OLDNEW
« tools/valgrind/suppressions.py ('K') | « tools/valgrind/test_suppressions.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698