Home | History | Annotate | Download | only in valgrind
      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())
     25